cost-of-modules
cost-of-modules copied to clipboard
Feature request: Add CI support
Part of a standard CI flow is to verify that a package size did not cross a certain threshold. Right now due to the way the results are outputted it's cumbersome to extract and assert the final package size value.
Suggested solution:
Adding a new command line option, e.g. assert-smaller
I think you're looking for this package https://github.com/siddharthkp/bundlesize
But, it means I have to package it on my own, right ? I like cost-of-modules approach, just run and it works :-)
Hey @efimk-lu, not sure if this is right tool
cost-of-modules
does not look at your bundle size, it looks at the node_modules size
more here: https://github.com/siddharthkp/cost-of-modules#motivation