Rollup VS vite

Compare Rollup vs vite and see what are their differences.

Rollup

Next-generation ES module bundler (by rollup)

vite

Next generation frontend tooling. It's fast! (by vitejs)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
Rollup vite
56 642
23,150 54,211
1.2% 4.2%
9.7 9.9
9 days ago 6 days ago
JavaScript TypeScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Rollup

Posts with mentions or reviews of Rollup. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-26.
  • JavaScript Module Bundlers and all that Jazz ✨
    6 projects | dev.to | 26 Mar 2023
    Other popular build tools include Vite.js, Browserify, Rollup - The bundler behind vite.
  • React Server Components and Client Components with Rollup
    3 projects | dev.to | 18 Mar 2023
    Awhile back I wrote about packaging your JavaScript library code into a dual-module bundle (ESM + CommonJS) using Rollup module bundler. Make sure to check it out (it's been updated for Rollup v3!).
    3 projects | dev.to | 18 Mar 2023
    While searching for a solution, I came across this issue. Ironically, one of the suggested solutions in there was the initial solution described earlier above. However, there was also another suggestion.
  • The Complete Guide to User Authentication in Firebase
    2 projects | dev.to | 10 Feb 2023
    In this blog, we'll cover how to implement a simple login signup functionality using firebase. We'll be using modular JavaScript SDK, which (according to the documentation) provides a reduced SDK size and greater efficiency with modern JavaScript build tools such as Webpack or Rollup.
  • What is your ideal setup for new project for solo developers
    6 projects | reddit.com/r/node | 3 Feb 2023
    My go-to front end these days is Lit with web components, rollup, and web dev server.
  • How to use Firestore with Redux in a React application
    7 projects | dev.to | 25 Jan 2023
    With tools like webpack (used by create-react-app under the hood), your entire application needs to be bundled in a single file before it can be served to the browser. Vite, on the other hand, takes advantage of native ES modules in the browser to make bundling more efficient with Rollup, serving parts of the source code as needed.
  • Enhance your Docsify experience with your own plugin
    4 projects | dev.to | 9 Jan 2023
    We use Vite as a dev server. This allows you to take advantage of hot reloading in development and easily build and minify code with Rollup integration. Vitest is also provided, so you can write tests in the matching folder.
  • Introduction to React Suspense
    5 projects | dev.to | 27 Dec 2022
    In this project I use my favorite bundling tool called vite, It is a fast compiler & bundler, and it uses rollup under the hood.
  • Fixing Class Composition in Tailwind CSS
    10 projects | dev.to | 14 Dec 2022
    While not too long, css`@apply is a lot to repeat for every class you want to “compile”. That’s why using Vite and some Rollup plugins (Vite uses Rollup under the hood) I was able to shorten it into this:
  • Getting Tailwind to Work with Elm Book
    12 projects | dev.to | 28 Nov 2022
    Most front-end frameworks nowadays include these features as part of their CLI’s such as Create React App, Angular’s ng-cli, etc. For those that don’t, many will use a combination of some type of bundler like Parcel, Rollup, or Webpack and a browser refresher like livereload. This enables you to write code, save it, and immediately see the results. This in turn leads to fast feedback as you iterate all day in this build loop. The native Elm Reactor doesn’t offer this ability and elm-live fits the bill as a small Node.js library to enable this.

vite

Posts with mentions or reviews of vite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-29.

What are some alternatives?

When comparing Rollup and vite you can also consider the following projects:

Next.js - The React Framework

parcel - The zero configuration build tool for the web. 📦🚀

esbuild - An extremely fast bundler for the web

swc - Rust-based platform for the Web

astro - The all-in-one web framework designed for speed. ⭐️ Star to support our work!

Laravel Mix - The power of webpack, distilled for the rest of us.

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

SvelteKit - web development, streamlined

tsup - The simplest and fastest way to bundle your TypeScript libraries.

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

create-react-app - Set up a modern web app by running one command.