Skip to content

Commit

Permalink
Add baseHref
Browse files Browse the repository at this point in the history
  • Loading branch information
mdarif committed Jan 26, 2025
1 parent cbe3e8f commit fe8e47a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ permissions:
actions: write
contents: write
pages: write
id-token: write
deployments: write

jobs:
build:
Expand All @@ -23,6 +25,13 @@ jobs:

- run: npm ci --legacy-peer-deps
- uses: nrwl/nx-set-shas@v4

- name: Set SHAs
uses: nrwl/nx-set-shas@v4
with:
main-branch-name: 'master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build apps
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ node_modules
*.launch
.settings/
*.sublime-workspace
.env

# IDE - VSCode
.vscode/*
Expand Down
3 changes: 3 additions & 0 deletions apps/dashboard/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"outputPath": "dist/apps/dashboard",
"index": "apps/dashboard/src/index.html",
"main": "apps/dashboard/src/main.ts",
"baseHref": "/ng-mf/",
"polyfills": ["zone.js"],
"tsConfig": "apps/dashboard/tsconfig.app.json",
"inlineStyleLanguage": "scss",
Expand All @@ -36,6 +37,7 @@
},
"configurations": {
"production": {
"baseHref": "/ng-mf/",
"budgets": [
{
"type": "initial",
Expand All @@ -54,6 +56,7 @@
}
},
"development": {
"baseHref": "/",
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
Expand Down
2 changes: 2 additions & 0 deletions apps/login/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"outputPath": "dist/apps/login",
"index": "apps/login/src/index.html",
"main": "apps/login/src/main.ts",
"baseHref": "/ng-mf/",
"polyfills": ["zone.js"],
"tsConfig": "apps/login/tsconfig.app.json",
"inlineStyleLanguage": "scss",
Expand All @@ -30,6 +31,7 @@
},
"configurations": {
"production": {
"baseHref": "/ng-mf/",
"budgets": [
{
"type": "initial",
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "@ng-mf/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"scripts": {
"nx": "nx"
},
"private": true,
"devDependencies": {
"@angular-devkit/build-angular": "~19.0.0",
Expand Down

0 comments on commit fe8e47a

Please sign in to comment.