Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 890 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 890 Bytes

rollup-brunch Build Status

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" to package.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'
    })]
  }
}