Show info about files/packages included with your rollup bundle
94
Create a Rollup plugin that analyzes and reports bundle composition by tracking which modules are included in the final bundle.
Your plugin should:
The plugin should integrate seamlessly with Rollup's build pipeline without blocking or modifying the bundle output.
@generates
/**
* Creates a Rollup plugin that analyzes bundle composition
*
* @returns {object} A Rollup plugin object with name, options, and generateBundle hooks
*/
function bundleAnalyzer() {
// IMPLEMENTATION HERE
}
module.exports = bundleAnalyzer;Provides bundle size analysis support.
Install with Tessl CLI
npx tessl i tessl/npm-rollup-plugin-sizesdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10