Current behaviour 💣
All the shared chunks are included multiple times as scripts in the output html page
Expected behaviour ☀️
Each chunk is included only once
Reproduction Example 👾
https://github.com/flipatlas/rspack-repro-html-plugin-broken-chunks/tree/main
You can see that runtime.js for example has been included twice in rspack-dist/index.html but only once in webpack-html/index.html
Environment 🖥
Same as in repro
Current behaviour 💣
All the shared chunks are included multiple times as scripts in the output html page
Expected behaviour ☀️
Each chunk is included only once
Reproduction Example 👾
https://github.com/flipatlas/rspack-repro-html-plugin-broken-chunks/tree/main
You can see that runtime.js for example has been included twice in
rspack-dist/index.htmlbut only once inwebpack-html/index.htmlEnvironment 🖥
Same as in repro