Fix sur le build Angular

This commit is contained in:
2026-01-20 11:55:38 +01:00
parent 55248a06d4
commit ac6309f813
2 changed files with 11 additions and 2 deletions

View File

@@ -61,7 +61,16 @@
"maximumError": "4kb"
}
],
"outputHashing": "all"
"outputHashing": "all",
"optimization": true,
"extractLicenses": true,
"sourceMap": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"development": {
"optimization": false,

View File

@@ -5,7 +5,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --configuration production --aot=true --optimization=true --progress=true",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"