-
-
Notifications
You must be signed in to change notification settings - Fork 571
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
Improve bundle size after tree shaking #5317
Comments
chenjiahan
added
feat
New feature or request
pending triage
The issue/PR is currently untouched.
labels
Jan 13, 2024
github-actions
bot
added
the
team
The issue/pr is created by the member of Rspack.
label
Jan 13, 2024
chenjiahan
added
rsbuild
rsbuild related
and removed
team
The issue/pr is created by the member of Rspack.
labels
Jan 13, 2024
Can you try webpack? It would not be considered as a bug, if our bundle size isn't bigger than webpack (at least for current stage). |
Sure, I will add webpack soon 😄 |
I have updated the demo and added webpack. The bundle size of webpack is
|
2 tasks
2 tasks
The rest size diff caused by |
👍 awesome |
2 tasks
chenjiahan
changed the title
Improve bundler size after tree shaking
Improve bundle size after tree shaking
Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
I noticed that in some cases, the bundle size of Rspack (v0.5.0) / Rsbuild is still larger than that of Vite / rollup after using new tree shaking.
I wonder if this is a bug or if the tree shaking strategy is different.
Test case
This is my test case:
https://github.com/chenjiahan/rsbuild-repro-tree-shaking-size
The text was updated successfully, but these errors were encountered: