rollup-brunch
v0.2.0
Published
Plugin for brunch.io that uses rollupjs for packaging.
Downloads
10
Readme
rollup-brunch
Adds Rollup support to brunch.
Usage
Install the plugin via npm with npm install --save rollup-brunch
.
Or, do manual install:
- Add
"rollup-brunch": "x.y.z"
topackage.json
of your brunch app. Pick a plugin version that corresponds to your minor (y) brunch version. - If you want to use the git version of the plugin, add
"rollup-brunch": "brunch/rollup-brunch"
.
Configuration
Accepts the same options as rollup.
Example: Babel
To use with Babel, install @rollup/plugin-babel
and configure brunch like this:
plugins: {
rollup: {
plugins: [require('@rollup/plugin-babel')({
babelHelpers: 'bundled'
})]
}
}