Skip to content

Commit

Permalink
fix angular build
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 5, 2024
1 parent 9454b14 commit 6ca5240
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/frontend",
"index": "src/index.html",
"main": "src/main.ts",
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@angular/animations": "^18.2.8",
"@angular/cdk": "^18.2.9",
"@angular/common": "^18.2.8",
"@angular/compiler": "^18.2.8",
"@angular/core": "^18.2.8",
"@angular/forms": "^18.2.8",
"@angular/material": "^18.2.9",
Expand All @@ -43,6 +42,7 @@
"tslib": "^2.8.0"
},
"devDependencies": {
"@angular/compiler": "^18.2.8",
"@angular-devkit/build-angular": "^18.2.9",
"@angular/cli": "~18.2.9",
"@angular/compiler-cli": "^18.2.8",
Expand Down
5 changes: 4 additions & 1 deletion frontend/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"typeRoots": ["src/custom-types"]
},
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
"include": ["src/**/*.d.ts"],
"angularCompilerOptions": {
"enableIvy": true
}
}

0 comments on commit 6ca5240

Please sign in to comment.