node package manager

rollup-preset-isomorphic

rollup-preset-isomorphic

NPM version Downloads

Everything you need to rollup isomorphic modules, in the proper order, with sane defaults.

Install

$ npm install --save-dev rollup rollup-preset-isomorphic

Usage

// rollup.config.js
import isomorphic from 'rollup-preset-isomorphic';
 
export default {
    plugins: [
        ...isomorphic(),
        // other plugins
    ]
};
$ rollup src/client/index.js -o src/client/bundle.js -mc

API

node([options]): Array<object>


MIT © Shannon Moeller