🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

rollup-plugin-stats

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
r

rollup-plugin-stats

Output Rollup stats

1.0.0
70

Supply Chain Security

100

Vulnerability

82

Quality

88

Maintenance

100

License

Version published
Weekly downloads
39K
-5.45%
Maintainers
0
Weekly downloads
 
Created
Issues
4

rollup-plugin-stats

Socket Badge CI

Output Rollup stats JSON file

Install

npm install --dev rollup-plugin-stats

or

yarn add --dev rollup-plugin-stats

Configure

// rollup.config.mjs
import stats from 'rollup-plugin-stats';

export default {
  plugins: [
    // add it as the last plugin
    stats(),
  ],
};
// rollup.config.js
const stats = require('rollup-plugin-stats');

module.exports = {
  plugins: [
    // add it as the last plugin
    stats(),
  ],
};

Options

  • fileName - the JSON filename relative to the build folder, default: stats.json
  • stats
    • source - output asset/chunk/module source (default false)

FAQs

Package last updated on 22 Dec 2024

Did you know?

Socket

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.

Install

Related posts