Show your bundle files size.
# yarn
yarn add rollup-plugin-files-size -D
# npm
npm install rollup-plugin-files-size -D
// rollup.config.mjs
import filesSize from 'rollup-plugin-files-size'
export default {
input: 'src/app.js',
output: {
file: 'dist/app.js',
format: 'iife'
},
plugins: [
filesSize()
]
}
MIT