Microbundle VS webpack

Compare Microbundle vs webpack and see what are their differences.

Microbundle

šŸ“¦ Zero-configuration bundler for tiny modules. (by developit)

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)
Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
Microbundle webpack
12 135
6,679 60,261
- 0.7%
6.8 9.8
about 1 month ago 7 days ago
JavaScript JavaScript
MIT License 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.

Microbundle

Posts with mentions or reviews of Microbundle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-13.

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 2022-01-20.
  • What should I use to deploy database GUI?
    2 projects | reddit.com/r/flask | 20 Jan 2022
    I don't know how you do the build of your GUI or perhaps you haven't thought of that yet. If the latter then that is something to think about but not an absolute requirement. You could for example use Webpack.
  • How to Use Amplify Studio Figma Connector with Clojurescript
    6 projects | dev.to | 9 Jan 2022
    const path = require("path"); const webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const HtmlBeautifierPlugin = require("html-beautifier-webpack-plugin"); module.exports = { mode: "development", entry: "./target/index.js", output: { path: path.resolve(__dirname, "public"), filename: "js/libs/bundle.js", clean: false, }, devtool: "source-map", module: { rules: [ { // docs: https://webpack.js.org/configuration/module/#resolvefullyspecified test: /\.m?js/, resolve: { fullySpecified: false, alias: { models: "../src/amplify/models/index.js", "ui-components": "../src/amplify/ui-components", }, }, }, { test: /\.jsx$/, exclude: /node_modules/, use: ["babel-loader"], }, ], }, resolve: { extensions: ["", ".js", ".jsx"], }, plugins: [ new webpack.ProvidePlugin({ process: "process/browser", }), new HtmlWebpackPlugin({ template: "./public/index.html.tmpl", filename: "index.html", }), new HtmlBeautifierPlugin(), ], };
  • Code Splitting with dynamic imports
    1 project | dev.to | 9 Jan 2022
    When your module bundler (I'm using Webpack for this example) encounters a dynamic import, it bundles the module as a separate file.
  • Package your NodeJS Lambda functions individually with esbuild for faster cold-start times
    7 projects | dev.to | 4 Jan 2022
    I've used webpack before for bundling, and while it is a mature and flexible bundler, you may run into problems with its memory usage and execution when you use it on very large projects with dozens of AWS Lambda functions. This is because it is written in JavaScript and must execute the same bundling process for each Lambda function.
  • Configuring CommonJS & ES Modules for Node.js
    6 projects | dev.to | 3 Jan 2022
    Note that generating CJS output with named exports from ESM is not currently possible with Webpack (support is pending Webpack PR#14998); it's not possible with esbuild (which, like Webpack, produces a non-static exports). However, Rollup DOES produce compatible output; the working example below uses Rollup instead of Webpack.
  • My FrontEnd Stack
    6 projects | dev.to | 2 Jan 2022
  • What JS is essential before learning React?
    1 project | reddit.com/r/reactjs | 28 Dec 2021
    That much is pretty easy, the hard part is deep diving into bundlers like Webpack, which make modular programming in Javascript possible. Create React App hides some of the complexity and lets you get started writing a React app quickly, but if you're not using CRA then learning about bundling and transpiling can send you down a pretty deep rabbit hole of topics to learn.
  • How to update a NodeJS TypeScript library for ESM-compliance?
    5 projects | reddit.com/r/typescript | 22 Dec 2021
  • Part 2/2 - Game in ReactJS - Cuzzle
    10 projects | dev.to | 21 Dec 2021
    Create React App (CRA): This is a library that I have used previously for other games/projects, this is an easy starting point for a react project because we have all our environment configured, for example, we have webpack, hot reloading, service workers (via workbox) and other features ready to be used, for this type of project I think is the best way to learn React.
  • Building a Webpack alternative in F#
    14 projects | dev.to | 16 Dec 2021
    At the time I had been exploring alternatives to Webpack like fuse-box, parcel, and esbuild. Around the same time I was made aware aware that browsers had already implemented [ESM modules], so technically as long as you produced HTML, CSS, and JS you didn't need any kind of pre-processing at all.

What are some alternatives?

When comparing Microbundle and webpack 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 JavaScript and CSS bundler and minifier

vite - Next generation frontend tooling. It's fast!

Rollup - Next-generation ES module bundler

parcel - The zero configuration build tool for the web. šŸ“¦šŸš€

gulp - A toolkit to automate & enhance your workflow

Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. āœŒļø

tsdx - Zero-config CLI for TypeScript package development

react-app-rewired - Override create-react-app webpack configs without ejecting

FuseBox - A blazing fast js bundler/loader with a comprehensive API :fire:

browserify - browser-side require() the node.js way