insin/nwb

Use Rollup to bundle components / libraries

Open

#316 opened on Jun 1, 2017

View on GitHub
 (1 comment) (5 reactions) (0 assignees)JavaScript (5,561 stars) (368 forks)batch import
enhancementhelp wanted

Description

nwb currently supports transpiling to ES5+CommonJS in lib/ and ES5+ES Modules in es/ with Babel, and creating UMD bundles in umd/ with Webpack.

  1. Is Rollup better for the UMD piece?

  2. Should we support creating single-file bundles in dist/ with Rollup and making those main and modules in package.json?

  3. Is there anything else Rollup offers or does better which we could use it for?

Contributor guide