Skip to content

Commit 11c05ba

Browse files
filipesilvaMRHarrison
authored andcommitted
fix(build): don't inline sourcemaps (angular#3262)
1 parent 12fe9bf commit 11c05ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)