rollup-config-whim

3.0.0 • Public • Published

rollup-config-whim

NPM version Downloads

A protean Rollup configuration based on my mercurial preferences.

Install

$ npm install --save-dev rollup rollup-config-whim

Usage

Module:

// rollup.config.js
import { configureModule } from 'rollup-config-whim';
 
export default configureModule();

Web:

// rollup.config.js
import { configureWeb } from 'rollup-config-whim';
 
export default {
  ...configureWeb()
  // optional overrides
};

Run:

$ rollup -c
$ rollup -i src/client/js/index.js -o dist/client/js/index.js -c
$ NODE_ENV=test rollup "test/**/*.js" -c

whim


MIT © Shannon Moeller

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    0
    • latest

Version History

Package Sidebar

Install

npm i rollup-config-whim

Weekly Downloads

10

Version

3.0.0

License

MIT

Unpacked Size

4.43 kB

Total Files

3

Last publish

Collaborators

  • shannonmoeller