-
Notifications
You must be signed in to change notification settings - Fork 22
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
Release bundle size has ballooned #1992
Comments
Sizes collected from https://github.com/pixiebrix/pixiebrix-extension/actions/workflows/release.yaml
Notable increases in:
|
I suspect it's due to Bootstrap imports, but even that shouldn't be 3MB per import. Maybe related to esbuild? |
Currently running 2 CI jobs to compare the two https://github.com/pixiebrix/pixiebrix-extension/actions/workflows/release.yaml |
It's esbuild, I see huge amounts of SVG-like code in Should I revert it (and bring back longer CI and broken dependency) or should I look into this? Let me know. I could also find a middle-ground where I use esbuild just to replace the broken dependency (which was cssnano) and restore terser to minify the JS. Ideally we'd keep esbuild since we'd want to move completely to it eventually, but maybe later rather than sooner. |
Example:
|
Reassigning for visibility (need to know what you'd like me to do) |
Found the reason: esbuild only supports tree-shaking partially 🤷♂️ |
The 1.4.8 submission to CWS
The text was updated successfully, but these errors were encountered: