Skip to content

Commit

Permalink
refactor(angular): move app tsconfig up a level to match CLI output.
Browse files Browse the repository at this point in the history
This also fixes `ng add @angular/ssr` setup.
  • Loading branch information
JeanMeche committed Feb 7, 2024
1 parent 0cab4c6 commit 92745d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"outputPath": "dist/demo",
"scripts": [],
"styles": ["src/global_styles.css"],
"tsConfig": "src/tsconfig.app.json"
"tsConfig": "tsconfig.app.json"
}
},
"serve": {
Expand Down
9 changes: 0 additions & 9 deletions angular/src/tsconfig.app.json

This file was deleted.

10 changes: 10 additions & 0 deletions angular/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": ["node"]
},
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
}

0 comments on commit 92745d5

Please sign in to comment.