{"library":"rollup-plugin-summary","title":"Rollup Bundle Summary Plugin","description":"rollup-plugin-summary is a Rollup plugin that generates a concise summary of the build output, including file sizes, gzipped sizes, minified sizes, and Brotli compressed sizes. It helps developers monitor the size impact of their bundles. The current stable version is 3.0.1. The package maintains an active release cadence, with major versions often released to align with new major versions of Rollup itself, ensuring compatibility and leveraging new features. Key differentiators include its simplicity, clear output format, and configurable options for hiding specific size metrics, providing a focused overview of bundle characteristics without overwhelming detail. It is primarily used within the Rollup build ecosystem to provide quick feedback on asset sizes.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install rollup-plugin-summary"],"cli":null},"imports":["import summary from 'rollup-plugin-summary';","import summary, { type SummaryPluginOptions } from 'rollup-plugin-summary';","const summary = require('rollup-plugin-summary').default;"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import summary from 'rollup-plugin-summary';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'es',\n  },\n  plugins: [\n    summary({ \n      showBrotliSize: true, // Optionally show brotli size\n      showGzippedSize: true, // Optionally show gzipped size\n      showMinifiedSize: true, // Optionally show minified size\n      showWarnings: true // Show warnings related to bundle sizes\n    })\n  ],\n};","lang":"javascript","description":"This quickstart demonstrates how to integrate `rollup-plugin-summary` into a basic Rollup configuration, showing common options.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}