-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Include package sizes of final bundle #12
Comments
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 I guess I wouldn't mind supporting this though! |
Food for thought, but I think one really interesting metric would be measuring individual exports so you can get it's tree-shakened size. I don't think that's an easy thing to do though compared to just providing the size of the output files. Either way, even integrating pkg-size to reduce the number of input commands would be ideal per build. |
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 |
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: