Skip to content

Commit b21459a

Browse files
Use updateAsset instead of subscript notation
Co-authored-by: Alan Agius <alan.agius4@gmail.com> Signed-off-by: Victor Porof <victorporof@chromium.org>
1 parent 96a6332 commit b21459a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/webpack/plugins/devtools-ignore-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class DevToolsIgnorePlugin {
6565
.filter(([, source]) => vendorsTest?.test(source) || runtimeTest?.test(source))
6666
.map(([index]) => +index);
6767

68-
compilation.assets[name] = new SourceMapSource(asset.source(), name, map);
68+
compilation.updateAsset(name, new SourceMapSource(asset.source(), name, map));
6969
}
7070
},
7171
);

0 commit comments

Comments
 (0)