be361e3896
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`).
39 lines
417 B
Plaintext
39 lines
417 B
Plaintext
# dependencies (bun install)
|
|
node_modules
|
|
|
|
# output
|
|
out
|
|
dist
|
|
*.tgz
|
|
data
|
|
|
|
# code coverage
|
|
coverage
|
|
*.lcov
|
|
|
|
# logs
|
|
logs
|
|
_.log
|
|
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
|
|
|
|
# dotenv environment variable files
|
|
.env
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
.env.local
|
|
|
|
# caches
|
|
.eslintcache
|
|
.cache
|
|
*.tsbuildinfo
|
|
|
|
# IntelliJ based IDEs
|
|
.idea
|
|
|
|
# Finder (MacOS) folder config
|
|
.DS_Store
|
|
|
|
PLAN.md
|
|
bun-repro-dir/
|