Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD. ES modules let you freely and seamlessly combine the most useful individual functions from your favorite libraries. This will eventually be possible natively everywhere, but Rollup lets you do it today. Rollup can be used either through a command line interface with an optional configuration file, or else through its JavaScript API. Rollup allows you to write your code using the new module system, and will then compile it back down to existing supported formats such as CommonJS modules, AMD modules, and IIFE-style scripts. This means that you get to write future-proof code.

Features

  • Rollup analyzes the code you are importing and excludes anything that isn't used
  • Build on top of existing tools and modules without adding extra dependencies
  • Results in lighter, faster, and less complicated libraries and applications
  • Rollup can import existing CommonJS modules through a plugin
  • Can be used either through a command line interface or a JavaScript API
  • Lets you freely and seamlessly combine the most useful individual functions from your favorite libraries

Project Samples

Project Activity

See All Activity >

Categories

Compilers, Libraries

License

MIT License

Follow Rollup

Rollup Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Rollup!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Compilers, JavaScript Libraries

Registered

2021-02-23