From a6c91dd7447973b147edf757c2c4eef9f38d662c Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Mon, 9 Jul 2018 14:31:11 +0300 Subject: [PATCH] (AngularCLI) Added a configuration to serve with extractCss and sourceMap enabled --- angular.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/angular.json b/angular.json index aef36c43..3c054356 100644 --- a/angular.json +++ b/angular.json @@ -50,6 +50,10 @@ "vendorChunk": false, "buildOptimizer": true }, + "ec": { + "sourceMap": true, + "extractCss": true + }, "hmr": { "fileReplacements": [ { @@ -72,6 +76,9 @@ "hmr": { "hmr": true, "browserTarget": "fuse:build:hmr" + }, + "ec": { + "browserTarget": "fuse:build:ec" } } },