rollup-config-whim
v3.0.0
Published
A protean rollup configuration based on my mercurial preferences.
Downloads
10
Readme
rollup-config-whim
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
MIT © Shannon Moeller