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')]