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 {
76
76
77
77
// sourceMappingURL is added at the very end which causes the code to be the same when sourcemaps are enabled/disabled
78
78
// 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 } ` : '' ;
80
81
81
82
const baseCacheKey = this . generateBaseCacheKey ( action . code ) ;
82
83
You can’t perform that action at this time.
0 commit comments