Package Exports
- rollup-plugin-analyze
- rollup-plugin-analyze/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-analyze) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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()]
}
}