https://github.com/balthazar/butternut-webpack-plugin
:nut_and_bolt: A butternut plugin for webpack
https://github.com/balthazar/butternut-webpack-plugin
butternut webpack webpack-plugin
Last synced: 9 months ago
JSON representation
:nut_and_bolt: A butternut plugin for webpack
- Host: GitHub
- URL: https://github.com/balthazar/butternut-webpack-plugin
- Owner: balthazar
- Created: 2017-05-11T22:20:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T23:31:03.000Z (about 9 years ago)
- Last Synced: 2025-03-18T21:52:30.149Z (over 1 year ago)
- Topics: butternut, webpack, webpack-plugin
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 29
- Watchers: 2
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# butternut-webpack-plugin
yarn add --dev butternut-webpack-plugin
### Usage
```js
// 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
```js
const ButternutWebpackPlugin = require('butternut-webpack-plugin').default
```
Checkout the options you can pass to butternut on [their Readme](https://github.com/Rich-Harris/butternut#javascript-api).