You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I contemplated this at one point, but I usually want to know the size of the entire package (not just the distribution files) so I run npx pkg-size to check.
Yeah that would be cool but probably a cherry on top. I actually wanted to write a module that helps calculate that.
We probably shouldn't integrate pkg-size to a bundler, because pkg-size is concerned about the entire package size (including README, LICENSE, package.json, etc) whereas the bundler is only concerned about the files it produced.
Just for future reference, but I think this project does implement all the treeshaking logic discussed before using esbuild and could be a useful baseline: https://github.com/okikio/bundle
Similar to other bundlers:
The text was updated successfully, but these errors were encountered: