A Rollup plugin that displays the size of the generated bundle(s) after build. v1.0.3 (last release). It provides a simple, no-frills way to see bundle size in the console output. Unlike more comprehensive tools like rollup-plugin-visualizer, it focuses solely on size reporting without additional analysis. Works with Rollup's plugin system. No recent updates; considered stable but minimal.
npm install rollup-plugin-bundle-sizeVerified import paths — ran on the pinned version, not inferred.
Shows how to integrate bundleSize plugin in Rollup config to log bundle size after build.
Consider using rollup-plugin-visualizer or rollup-plugin-filesize for active maintenance and more features.
Use a workaround or switch to an alternative if you have multiple output targets.
Verify size with actual bundle inspection or use a more detailed analyzer.
Run 'npm install --save-dev rollup-plugin-bundle-size'
Use 'import bundleSize from 'rollup-plugin-bundle-size'' or 'const bundleSize = require('rollup-plugin-bundle-size')'No dependency data recorded yet.