butternut-webpack-plugin

Butternut webpack plugin

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
butternut-webpack-plugin
2950.1.07 years ago7 years agoMinified + gzip package size for butternut-webpack-plugin in KB

Readme

<img src="https://img.shields.io/npm/v/butternut-webpack-plugin.svg?style=flat-square">
<img src="https://img.shields.io/travis/Apercu/butternut-webpack-plugin.svg?style=flat-square">

butternut-webpack-plugin
yarn add --dev butternut-webpack-plugin

Usage

// webpack.conf.js
import ButternutWebpackPlugin from 'butternut-webpack-plugin'

const options = {}

export default {
  // ...
  plugins: [
    new ButternutWebpackPlugin(options)
  ]
}

If using commonjs requires, you'll have to grab default instead
const ButternutWebpackPlugin = require('butternut-webpack-plugin').default

Checkout the options you can pass to butternut on their Readme.