BundlePhobia v 1
pastelsky
released this
09 Sep 06:13
·
401 commits
to bundlephobia
since this release
Changes
- π
cost-of-modules
is now bundlephobia.com π
(credits to @thekitze for the name) - Extracted out the bundling logic into a separate reusable package - package-build-stats
Features / Improvements
- Switched from
rollup
->webpack
. A lot of packages that used to fail to bundle with the pervious engine should work now, thanks to webpack's liberal resolution mechanism. - Support for reporting sizes of CSS Packages published to NPM. Try animate.css
- Experimental support for SCSS packages. Try bulma
- You can now see historical size trends for a package.
- We now detect presence of
module
orjsnext:main
fields in the package'spackage.json
, and show tree-shaking suggestions.
Improvements
- The bundling is much faster than before. Timeouts should reduce drastically.
- Use
uglify-es
to minify packages. Works with ES6 packages. - Errors are less frequent, and when they do occur, they are a little more descriptive.
- Errors don't come up in annoying
alerts
π - Added error reporting and perf monitoring on the backend.