
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
rollup-plugin-stats
Advanced tools
Output Rollup stats JSON file
npm install --dev rollup-plugin-stats
or
yarn add --dev rollup-plugin-stats
// vite.config.mjs
import { defineConfig } from 'vite';
import pluginStats from 'rollup-plugin-stats';
export default defineConfig({
// your vite config
plugins: [
// add it as the last plugin
pluginStats(),
],
});
// rollup.config.mjs
import { defineConfig } from 'rollup';
import pluginStats from 'rollup-plugin-stats';
export default defineConfig({
// your rollup config
plugins: [
// add it as the last plugin
pluginStats(),
],
});
// rollup.config.js
const { defineConfig } = require('rollup');
const pluginStats = require('rollup-plugin-stats');
module.exports = defineConfig({
// your rollup config
plugins: [
// add it as the last plugin
pluginStats(),
],
});
// rolldown.config.js
import { defineConfig } from 'rolldown';
import pluginStats from 'rollup-plugin-stats';
export default defineConfig({
// your rolldown config
plugins: [
// add it as the last plugin
pluginStats(),
],
});
fileName - the JSON filepath relative to the build folder or absolute(default: stats.json)write - format and write the stats to disk(default: fs.write(filename, JSON.stringify(stats, null, 2)))stats
source - output asset/chunk/module source (default false)map - output chunk map property (default: false)excludeAssets - exclude matching assets: string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>excludeModules - exclude matching modules: string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, vite, rolldown and rollup.
Generate vite/rollup/rolldown stats JSON file with a bundle-stats webpack supported structure.
FAQs
Output Rollup stats
The npm package rollup-plugin-stats receives a total of 72,763 weekly downloads. As such, rollup-plugin-stats popularity was classified as popular.
We found that rollup-plugin-stats demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.