Shared chunks are included multiple times
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- build-system
Research direction
Start with the linked reproduction and compare rspack-dist/index.html with webpack-html/index.html, focusing on the duplicated runtime.js script and other shared chunks. Trace the HTML generation path from the reproduction, then verify that each shared chunk appears only once in the generated output.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 19
- Forks
- 4
- Avg merge
- 7h 17m
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rstackjs/html-rspack-plugin
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
rstackjs/html-rspack-plugin#54 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
rstackjs/html-rspack-plugin#42 · 1 comment ·
Maintainers usually reply within 1 day
-
Dependency DashboardOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
rstackjs/html-rspack-plugin#19 ·
Maintainers usually reply within 1 day
All issues in rstackjs/html-rspack-plugin
Similar issues
-
[quality] useFocusTrap's Shift+Tab wrap and non-Tab/non-Escape key arms are never driven end to endPossibly taken @hivecommons-hive claimed this today. Openagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/gh-aw-workshop#4220 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
JuliusBrussee/caveman#1189 ·
Maintainers usually reply within 1 day
-
priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenHands/extensions#738 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
invoiceninja/invoiceninja#13320 ·
Maintainers usually reply within 1 day