0.2.6 • Published 11 days ago

rollup-plugin-webpack-stats v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

rollup-plugin-webpack-stats

Warning Under active development

npm.io npm.io ci Socket Badge

Generate rollup stats JSON file with a bundle-stats webpack supported structure.

Install

npm install --dev rollup-plugin-webpack-stats

or

yarn add --dev rollup-plugin-webpack-stats

Configure

// rollup.config.js
const { webpackStats } = require('rollup-plugin-webpack-stats');

module.exports = {
  plugins: [
    // add it as the last plugin
    webpackStats(),
  ],
};
// vite.config.js
import { defineConfig } from 'vite';
import { webpackStats } from 'rollup-plugin-webpack-stats';

export default defineConfig((env) => ({
  plugins: [
    // Output webpack-stats.json file
    webpackStats(),
  ],
}));

Options

  • fileName - JSON stats file inside rollup/vite output directory

Resources

@relative-ci/agent examples

0.2.6

11 days ago

0.2.5

1 month ago

0.2.4

3 months ago

0.2.3

5 months ago

0.2.3-beta.0

5 months ago

0.2.2-beta.0

6 months ago

0.2.2

6 months ago

0.2.1

9 months ago

0.2.1-beta.1

9 months ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago