-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Esbuild plugin produces incorrect numbers when CSS used #360
Comments
Should we suggest using webpack or there is a simple way to fix esbuild? |
Found a simple way: #361 |
The fix was released in 11.1.2. |
Thanks, got the expected numbers now. I think the issue is a big one. All people using How about sending a PSA to the users? |
What is PSA in this context? |
Public service announcement. Something like this: https://twitter.com/justboriss/status/1771153391072292969 |
I retweeted your tweet :) |
If a project contains a CSS file in imports, for example
import "./styles.css";
, size-limit with esbuild plugin only counts CSS size and skips Javascript. The same works well on webpack + webpack-css plugin.Reproducible in this sample project: https://github.com/just-boris/size-limit-demos
The same entry produces different results when using esbuild and webpack plugins
The text was updated successfully, but these errors were encountered: