Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

bubbleup-plugin-build-rollup

0.0.6 • Public • Published

Bubbleup Rollup Build Plugin

0 configuration rollup builds

Usage

npm install bubbleup-plugin-build-rollup
 
bubbleup build src/index.js 
 
# optionally provide destination 
 
bubbleup build src/index.js -d dist/bundle.js

That's it!

Plugin API

This Bubbleup plugin exposes a plugin API to further configure how rollup manages your builds. A plugin looks like

module.exports = {
  exec: function (rollupOptions, writeOptions) {
    // mutate rollupOptions and writeOptions
  }
}

rollupOptions

An object passed to rollup.rollup( options ).

writeOptions

An object passed to bundle.write.

Install

npm i bubbleup-plugin-build-rollup

DownloadsWeekly Downloads

6

Version

0.0.6

License

MIT

Last publish

Collaborators

  • avatar