I came across siddharthkp/bundlesize in my GH feed. It allows you to cap the size of your project's bundled artifacts, either for use in CLI scripts, or in a CI pipeline.
For example (from their readme):

Given that everything goes through Travis, and we've frequently discussed artifact sizes, it would make sense for us to have a helper that clarified the current situation. I think bundlesize would be a good solution.
If we want this added then I'll do it and make a PR.
I came across siddharthkp/bundlesize in my GH feed. It allows you to cap the size of your project's bundled artifacts, either for use in CLI scripts, or in a CI pipeline.
For example (from their readme):

Given that everything goes through Travis, and we've frequently discussed artifact sizes, it would make sense for us to have a helper that clarified the current situation. I think bundlesize would be a good solution.
If we want this added then I'll do it and make a PR.