Add minimal reproduction script for bun code splitting bug
Adds `repro.ts`, a self-contained script that: - Generates an HTML entrypoint, a main TS entrypoint, and thousands of dynamically imported chunks. - Runs `bun build --splitting` against the generated structure. - Parses the output `index.html` to confirm whether the injected script matches the main entrypoint or a random chunk. - Updates `.gitignore` to safely ignore the temporary artifacts (`bun-repro-dir`).
This commit is contained in:
@@ -35,3 +35,4 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
|
||||
.DS_Store
|
||||
|
||||
PLAN.md
|
||||
bun-repro-dir/
|
||||
|
||||
Reference in New Issue
Block a user