File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/angular_devkit/build_angular/src/browser Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ export class BundleActionCache {
7676
7777 // sourceMappingURL is added at the very end which causes the code to be the same when sourcemaps are enabled/disabled
7878 // When using hiddenSourceMaps we can omit the postfix since sourceMappingURL will not be added.
79- const sourceMapPostFix = action . sourceMaps && ! action . hiddenSourceMaps ? '|sourcemap' : '' ;
79+ // When having sourcemaps a hashed file and non hashed file can have the same content. But the sourceMappingURL will differ.
80+ const sourceMapPostFix = action . sourceMaps && ! action . hiddenSourceMaps ? `|sourcemap|${ action . filename } ` : '' ;
8081
8182 const baseCacheKey = this . generateBaseCacheKey ( action . code ) ;
8283
You can’t perform that action at this time.
0 commit comments