We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.mjs
1 parent a145cab commit 1dab4edCopy full SHA for 1dab4ed
packages/angular_devkit/build_angular/src/tools/webpack/plugins/index-html-webpack-plugin.ts
@@ -54,7 +54,8 @@ export class IndexHtmlWebpackPlugin extends IndexHtmlGenerator {
54
try {
55
for (const chunk of this.compilation.chunks) {
56
for (const file of chunk.files) {
57
- if (file.endsWith('.hot-update.js')) {
+ // https://github.com/webpack/webpack/blob/1f99ad6367f2b8a6ef17cce0e058f7a67fb7db18/lib/config/defaults.js#L1000
58
+ if (file.endsWith('.hot-update.js') || file.endsWith('.hot-update.mjs')) {
59
continue;
60
}
61
0 commit comments