Skip to content

Commit 859d905

Browse files
authored
fix(build): don't inline sourcemaps (#3262)
1 parent fe4b35b commit 859d905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-cli/models/webpack-build-common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function getWebpackCommonConfig(
3333
if (appConfig.scripts.length > 0) { entry['scripts'] = scripts; }
3434

3535
return {
36-
devtool: sourcemap ? 'source-map' : 'eval',
36+
devtool: sourcemap ? 'source-map' : false,
3737
resolve: {
3838
extensions: ['.ts', '.js'],
3939
modules: [path.resolve(projectRoot, 'node_modules')]

0 commit comments

Comments
 (0)