-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Home
Ra'Shaun Stovall edited this page May 7, 2017
·
14 revisions
Welcome to the Rollup wiki!
If you're new to Rollup, here's what you need to know:
- Rollup is a JavaScript 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 or Webpack), 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.
- Rollup embraces ES6 modules
- The easiest way to begin using Rollup is via the command line
- You can also use the JavaScript API
- Or create plugin for your build tool of choice
- More information on plugins
To get up and running quickly, follow the Quickstart Tutorial.
If you're experiencing problems, check the Troubleshooting page or raise an issue!