Home
Rich Harris edited this page May 26, 2015
·
14 revisions
Welcome to the rollup wiki!
If you're new to rollup, here's what you need to know:
- rollup is an ES6 module bundler. It takes a file - let's call it
main.js
, and recursively imports its dependencies until your whole library or application is contained in a single file - unlike other bundlers (such as browserify, webpack, esperanto or jspm), rollup only includes the code you actually need. In many cases, the resulting bundle is a fraction of the size. Even in the worst case scenario it will still be smaller than bundles generated by other tools
- the easiest way to use it is via the [command line](Command Line Interface)...
- ...but you can also use the node API...
- ...or a plugin for your [build tool](Build tool plugins) of choice
If you're experiencing problems, check the Troubleshooting page or raise an issue!