node package manager

rollup-preset-node

rollup-preset-node

NPM version Downloads

Everything you need to rollup isomorphic modules.

Install

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

Usage

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

API

node([options]): Array<object>


MIT © Shannon Moeller