fix: configure Angular application build
This commit is contained in:
parent
d664b32b8d
commit
3e94059d9b
|
|
@ -12,7 +12,8 @@
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/maidn-e2e-angular",
|
"outputPath": "dist/maidn-e2e-angular",
|
||||||
"browser": "src/main.ts",
|
"browser": "src/main.ts",
|
||||||
"index": "src/index.html"
|
"index": "src/index.html",
|
||||||
|
"tsConfig": "tsconfig.app.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
"zone.js": "^0.15.0"
|
"zone.js": "^0.15.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@angular/build": "^20.0.0",
|
||||||
"@angular/cli": "^20.0.0",
|
"@angular/cli": "^20.0.0",
|
||||||
"@angular/compiler-cli": "^20.0.0",
|
"@angular/compiler-cli": "^20.0.0",
|
||||||
"typescript": "~5.8.0"
|
"typescript": "~5.8.0"
|
||||||
|
|
|
||||||
9
tsconfig.app.json
Normal file
9
tsconfig.app.json
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./out-tsc/app",
|
||||||
|
"types": []
|
||||||
|
},
|
||||||
|
"files": ["src/main.ts"],
|
||||||
|
"include": ["src/**/*.d.ts"]
|
||||||
|
}
|
||||||
14
tsconfig.json
Normal file
14
tsconfig.json
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"strict": true,
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "preserve",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
|
"lib": ["ES2022", "dom"]
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"strictTemplates": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue