rollup-plugin-analyze

0.4.0 • Public • Published

rollup-plugin-analyze

A visualizer rollup analyzer

Examples

Install

npm i -D rollup-plugin-analyze

Usage

rollup.config.js

const Analyze = require('rollup-plugin-analyze')

module.exports = {
  input: 'lib/index.jsx',
  output: {
    file: 'dist/index.js',
    format: 'iife'
  },
  plugins: [Analyze()]
}

vite.config.js

import react from '@vitejs/plugin-react'
import Analyze from 'rollup-plugin-analyze'

export default () => {
  return {
    plugins: [react(), Analyze()]
  }
}

Package Sidebar

Install

npm i rollup-plugin-analyze

Weekly Downloads

24

Version

0.4.0

License

MIT

Unpacked Size

966 kB

Total Files

7

Last publish

Collaborators

  • shuoshubao