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. (by webpack)
Rollup
Next-generation ES module bundler (by rollup)
webpack | Rollup | |
---|---|---|
355 | 82 | |
64,846 | 25,426 | |
0.3% | 0.2% | |
9.9 | 9.5 | |
4 days ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
webpack
Posts with mentions or reviews of webpack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-11-29.
-
Documentation Release Notes - November 2024
The JS SDK now lets you opt out of specific modules you don't need and optimize the final bundle size. You can do that by using either of two popular JavaScript build tools: Rollup or Webpack.
-
Vue 3 Starter Template with Webpack, Tailwind CSS, and MerakUI - Quick Setup for Modern Web Apps
Webpack: A bundler for managing and optimizing module dependencies. Learn More
-
Top 10 JavaScript Libraries </>
Description: A module bundler that compiles JavaScript modules (along with assets like styles and images) into a single bundle or multiple bundles for optimized loading. It also supports hot reloading and code splitting. Use Cases: Bundling and optimizing JavaScript files for production, often used in larger web projects. Website: Webpack
-
Low-Level Documentation
Webpack official website
-
Dockerizing a Next.js Application using a Standalone Build
For its part, Next.js is the most popular React framework. As any other JavaScript application that uses a bundler such as webpack or Vite, for production a compiled version of the project is used. This is known as build. A build aims to provide the minimum amount of code needed for the application to function the same as it does in development. This ensures that JavaScript files are very lightweight, allowing the browser to fetch and interpret them in the shortest possible time to render the user interface or perform whatever tasks the application requires."
-
Why You Should TRUST Frameworks (And What It Takes to Build One From Scratch)
Webpack manages standalone applications.
-
What is New for Developers in Strapi 5: Top 10 Changes
Previously, Strapi used Webpack, a free and open-source module bundler for JavaScript.
-
Vite vs Webpack: Which Build Tool is Right for Your Project?
Webpack is a module bundler used to build modern JavaScript applications. It allows developers to compile modules and optimize assets in an application. A key feature of Webpack is that it is flexible in its customization, which enables it to be suitable for both small- and large-scale applications. You can install Webpack by running the command below:
-
Optimizing Web Performance: Best Practices and Techniques
Additional Resources Google Lighthouse WebPageTest TinyPNG Webpack Documentation Service Worker API
-
Digital asset management: The right time to scale your tech stack
If you're working with a modern web framework like React or Vue, you might be using something like Webpack or Rollup to bundle your assets. These tools are great, but a simpler approach to managing assets exists. This is where DAM can complement your existing build process.
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 2024-12-01.
-
How to Build Multi-Platform Executable Binaries in Node.js with SEA, Rollup, Docker, and GitHub
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. Rollup Documentation
-
Documentation Release Notes - November 2024
The JS SDK now lets you opt out of specific modules you don't need and optimize the final bundle size. You can do that by using either of two popular JavaScript build tools: Rollup or Webpack.
-
How to Create an NPM Packages using Rollup.js + Lerna.js + Jfrog Artifactory
Rollup.js is a JavaScript module bundler that compiles small pieces of code into larger, more complex applications. It is particularly well-suited for bundling ES6 modules and is known for its efficient tree-shaking capabilities, which eliminate unused code from the final bundle, resulting in smaller file sizes.
-
Why You Should TRUST Frameworks (And What It Takes to Build One From Scratch)
Rollup bundles runtime artifacts.
-
Building Auth0 Actions in TypeScript
This is also a valid approach, but what we really want is to be able to write our code in TypeScript and have it transpile into the JavaScript we need. Enter Rollup.
-
Digital asset management: The right time to scale your tech stack
If you're working with a modern web framework like React or Vue, you might be using something like Webpack or Rollup to bundle your assets. These tools are great, but a simpler approach to managing assets exists. This is where DAM can complement your existing build process.
-
Creating Standalone Widgets with Svelte: My Journey and Solutions
Since my widgets required a high level of reactivity, I relied heavily on the Svelte component API and used Rollup for bundling. "It was simple and direct until I got the following problems:
-
Tools and libraries widely used in micro frontend architectures!
Official Website
-
Web Components and SSR with Next.js
My bundler of choice is Rollup.js. It's the thing that powers Vite and I think it's great. So in my repo you'll find the following rollup.config.mjs file in the app root here.
-
JavaScript frameworks: comparing the latest tools and libraries
Rollup is a module bundler for JavaScript that focuses on ES modules and is particularly good for library development.
What are some alternatives?
When comparing webpack and Rollup you can also consider the following projects:
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
esbuild - An extremely fast bundler for the web
vite - Next generation frontend tooling. It's fast!
tsup - The simplest and fastest way to bundle your TypeScript libraries.
gulp - A toolkit to automate & enhance your workflow
parcel - The zero configuration build tool for the web. 📦🚀
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
react-app-rewired - Override create-react-app webpack configs without ejecting