-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Browser] Improve TreeShaking approach for webpack #834
Comments
victhorbi
added
Type: Enhancement
Priority: Medium
and removed
Type: Enhancement
labels
Jun 20, 2024
This is webpack approach to tree shaking, not sure if we are using it: https://webpack.js.org/guides/tree-shaking/ There is a couple of options we can set there. |
Added config for tsup to use rollup optimisations plus minify (esbuild is using tree shake by defult too) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Objective is to review the output webpack js file size for browser users
This could be optimised by looking at how TreeShaking works and what exports we have
Ideally if a browser app is just doing minimal operations, the output js file should be small
The text was updated successfully, but these errors were encountered: