From 912fe08756bdb86928d5157e42c8ca9fd21b9a75 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sat, 17 Mar 2018 19:24:57 -0700 Subject: [PATCH] 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 --- integration/cli-hello-world/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/cli-hello-world/package.json b/integration/cli-hello-world/package.json index c627ca24c3..9dfe9c205a 100644 --- a/integration/cli-hello-world/package.json +++ b/integration/cli-hello-world/package.json @@ -5,7 +5,7 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build --prod --build-optimizer", + "build": "ng build --prod --sourcemaps", "test": "ng test --single-run", "lint": "ng lint", "e2e": "ng e2e",