chore(start): remove deprecated --aot flag from start script in ./package.json (#2956)
Remove obsolete (--aot) from npm start. Angular 20+ enables AOT by default; the flag is unsupported in newer CLIs and caused startup errors.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
"ng": "ng",
|
||||
"build": "node version.js && npm run env -s && ng build --configuration production --output-hashing=none",
|
||||
"build:prod": "node version.js && node --max-old-space-size=16384 ./node_modules/@angular/cli/bin/ng build --configuration production --output-hashing=none --base-href=/web-app/",
|
||||
"start": "npm run env -s && ng serve --aot --proxy-config proxy.conf.js",
|
||||
"start": "npm run env -s && ng serve --proxy-config proxy.conf.js",
|
||||
"serve:dev": "npm run env -s && ng serve --source-map",
|
||||
"serve:sw": "npm run build -s && npx http-server ./dist -p 4200",
|
||||
"lint": "eslint . && stylelint \"src/**/*.scss\" && prettier . --check && htmlhint \"src\" --config .htmlhintrc",
|
||||
|
||||
Reference in New Issue
Block a user