-
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
@stlite/browser is now built by Vite's Library mode and it doesn't minify the bundle completely as https://vite.dev/config/build-options#build-minify says
Note the build.minify option does not minify whitespaces when using the 'es' format in lib mode, as it removes pure annotations and breaks tree-shaking.
It makes sense as it's more important to make libraries ESM-aware and tree-shake-friendly in general.
However, in our case, we want to minify the bundle even ignoring such benefits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels