rollup-preset-isomorphic
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; plugins: ... // other plugins ;
$ rollup src/client/index.js -o src/client/bundle.js -mc
API
node([options]): Array<object>
options
{Object}
multiEntry
{Object|Boolean}
- Options forrollup-plugin-multi-entry
, orfalse
to disable.commonjs
{Object|Boolean}
- Options forrollup-plugin-commonjs
, orfalse
to disable.globals
{Object|Boolean}
- Options forrollup-plugin-node-globals
, orfalse
to disable.resolve
{Object|Boolean}
- Options forrollup-plugin-node-resolve
, orfalse
to disable.builtins
{Object|Boolean}
- Options forrollup-plugin-node-builtins
, orfalse
to disable.
MIT © Shannon Moeller