-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
One little change from moving from webpack to esbuild, is the fact that esbuild doesn't minify assets by default?
It's not a huge issue, but asset sizes have gone up a little as a result in production:
application.csswent from ~270KB to ~335KBapplication.jswent from ~800KB to ~1.6 MBadmin.jswent from ~95KB to ~7KB (this is more to do with webpack and how they are rebundling all the libraries again in the separate packs. ESbuild doesn't do this, hence the massive savings.)
This should be a simple fix (think it just needs a --minify flag), but requires some investigation on the best way to do this.
Metadata
Metadata
Assignees
Labels
No labels