test: improve ng build flags for cli-hello-world (#22808)

Remove unnecessary --build-optimizer flag and add --sourcemaps flag to
generate source maps for better debugging.

PR Close #22808
This commit is contained in:
Igor Minar 2018-03-17 19:24:57 -07:00
parent 99408d0445
commit 912fe08756
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build --prod --build-optimizer", "build": "ng build --prod --sourcemaps",
"test": "ng test --single-run", "test": "ng test --single-run",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",