/rollup-plugin-butternut

This module is no longer maintained. Please use https://www.npmjs.com/package/rollup-plugin-terser

Primary LanguageJavaScriptMIT LicenseMIT

Deprecated

This is no longer maintained. Please use https://www.npmjs.com/package/rollup-plugin-terser instead.

rollup-plugin-butternut

Compress JavaScript with Butternut.

Installation

npm install --save-dev rollup-plugin-butternut

Usage

// rollup.config.js
import butternut from 'rollup-plugin-butternut';

export default {
  entry: 'src/main.js',
  dest: 'bundle.js',
  format: 'iife',
  plugins: [ butternut() ]
};

License

MIT