-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rspress HMR is broken after enabling new tree shaking #5270
Comments
try this |
@IWANABETHATGUY I can still reproduce this issue in branch: https://github.com/web-infra-dev/rsbuild/tree/new_tree_shaking_01172 |
With Rspack v0.5.3, Panic occurred after updating branch: https://github.com/web-infra-dev/rsbuild/tree/new_tree_shaking_01172 |
@jerrykingxyz can you have a look? |
Can you try the latest 0.5.6? |
Fixed 👍 |
System Info
@rspack/core 0.5.0 canary (0.4.5-canary-be59383-20240105051840)
System:
OS: macOS 14.0
CPU: (10) arm64 Apple M1 Pro
Memory: 49.02 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.12.1 - ~/Library/Caches/fnm_multishells/22567_1704199739974/bin/node
npm: 8.19.2 - ~/Library/Caches/fnm_multishells/22567_1704199739974/bin/npm
pnpm: 8.14.0 - ~/Library/Caches/fnm_multishells/22567_1704199739974/bin/pnpm
bun: 0.1.2 - ~/.bun/bin/bun
Browsers:
Chrome: 120.0.6099.199
Safari: 17.0
Details
Rspress HMR is broken after enabling new tree shaking:
Reproduce link
https://github.com/web-infra-dev/rsbuild/tree/new_tree_shaking_0108
Reproduce Steps
packages/document/docs/en/guide/basic/json-files.md
in editor, type something.The text was updated successfully, but these errors were encountered: