Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    rollup-config-whimpublic

    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

    Keywords

    none

    install

    npm i rollup-config-whim

    Downloadslast 7 days

    15

    version

    2.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar