Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rollup-config-whim

shannonmoeller26MIT3.0.0

A protean rollup configuration based on my mercurial preferences.

readme

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