rollup.config.flow

4.0.0 • Public • Published

flow rollup config

This is a preset rollup config for flow projects, which uses preconfigured plugins useful in that setup.

Install

npm install --save-dev rollup.config.flow

Configure

Then in your own project create rollup.config.js file that just exports the default

import config from "rollup.config.flow"
export default config()

Rollup

Then you can create UMD style bundles from src files to dist by runing following:

rollup -c --files index

You can also create multiple bundles as follows:

rollup -c --files index,other,nested/module

Customization

You can further customize your config by passing additional options to the config:

import config from "rollup.config.flow"
export default config({
  name: "mylibname", // file name used if not provided
  alias: { stuff: "@gozala/stuff" },
  css: true // importing `style.css` will inject them into head element.
})

Readme

Keywords

Package Sidebar

Install

npm i rollup.config.flow

Weekly Downloads

4

Version

4.0.0

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • gozala