-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
The difference in bundle size between Rspack and Webpack artifacts #4171
Comments
Ref: #3120 |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
@JSerFeng can you help revisit the issue ? |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
System Info
System:
OS: macOS 13.5.2
CPU: (10) arm64 Apple M1 Pro
Memory: 2.64 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.14.1 - ~/Library/Caches/fnm_multishells/70582_1694424744062/bin/node
Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/70582_1694424744062/bin/yarn
npm: 9.3.1 - ~/Library/Caches/fnm_multishells/70582_1694424744062/bin/npm
pnpm: 7.18.1 - ~/Library/Caches/fnm_multishells/70582_1694424744062/bin/pnpm
Browsers:
Chrome: 116.0.5845.179
Safari: 16.6
Details
The bundle size of Rspack and Webpack artifacts are very different.
Webpack
Webpack creates smaller chunks, the difference in size between chunks is not as great as Rspack.
And the total size is smaller, but the gzipped size is larger than Rspack.
Rspack
Rspack creates a 3.73 MB large chunk, and the total size is larger.
Reproduce link
https://github.com/chenjiahan/rspack-split-chunks-size
Reproduce Steps
Clone
Webpack
Rspack
The text was updated successfully, but these errors were encountered: