rollup.js

the next-generation JavaScript module bundler

What is this?

Rollup is a next-generation JavaScript module bundler. Author your app or library using ES2015 modules, then efficiently bundle them up into a single file for use in browsers and Node.js – even if you use advanced features like bindings and cycles.

So, like Browserify?

Yes, except that the resulting bundle is always smaller than the Browserify or Webpack equivalent, because ES2015 modules are inherently more efficient than CommonJS modules. You can even eliminate unused library code with tree-shaking.

Tree-shaking?

Normally if you require a module, you import the whole thing. ES2015 lets you just import the bits you need, without mucking around with custom builds. It's a revolution in how we use libraries in JavaScript, and it's happening right now.

Sounds great!

Visit github.com/rollup/rollup for installation instructions and more information.

Get started on GitHub »

ES2015 modules go in...

...bundle comes out