From 859d90510dfeb4492603c4b134f3d1819d78189d Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 25 Nov 2016 14:34:37 +0000 Subject: [PATCH] fix(build): don't inline sourcemaps (#3262) --- packages/angular-cli/models/webpack-build-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular-cli/models/webpack-build-common.ts b/packages/angular-cli/models/webpack-build-common.ts index d81e3c44ebb1..e6ce1fd9a6f6 100644 --- a/packages/angular-cli/models/webpack-build-common.ts +++ b/packages/angular-cli/models/webpack-build-common.ts @@ -33,7 +33,7 @@ export function getWebpackCommonConfig( if (appConfig.scripts.length > 0) { entry['scripts'] = scripts; } return { - devtool: sourcemap ? 'source-map' : 'eval', + devtool: sourcemap ? 'source-map' : false, resolve: { extensions: ['.ts', '.js'], modules: [path.resolve(projectRoot, 'node_modules')]