Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 18 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T23:31:03.000Z (over 7 years ago)
- Last Synced: 2024-10-14T11:52:14.165Z (about 1 month ago)
- Topics: butternut, webpack, webpack-plugin
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 29
- Watchers: 3
- 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).