Brunch vs Webpack

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Brunch
Brunch

79
84
+ 1
40
Webpack
Webpack

11.5K
7.6K
+ 1
740
Add tool

Brunch vs Webpack: What are the differences?

Brunch: Ultra-fast HTML5 build tool. Brunch is an assembler for HTML5 applications. It's agnostic to frameworks, libraries, programming, stylesheet & templating languages and backend technology; Webpack: A bundler for javascript and friends. A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Brunch and Webpack can be categorized as "JS Build Tools / JS Task Runners" tools.

"Easy and awesome" is the primary reason why developers consider Brunch over the competitors, whereas "Most powerful bundler" was stated as the key factor in picking Webpack.

Brunch and Webpack are both open source tools. It seems that Webpack with 49.5K GitHub stars and 6.22K forks on GitHub has more adoption than Brunch with 6.58K GitHub stars and 461 GitHub forks.

According to the StackShare community, Webpack has a broader approval, being mentioned in 2181 company stacks & 1297 developers stacks; compared to Brunch, which is listed in 14 company stacks and 9 developer stacks.

What is Brunch?

Brunch is an assembler for HTML5 applications. It's agnostic to frameworks, libraries, programming, stylesheet & templating languages and backend technology.

What is Webpack?

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

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Brunch?
Why do developers choose Webpack?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Brunch?
    What companies use Webpack?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Brunch?
    What tools integrate with Webpack?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Brunch and Webpack?
    gulp
    Build system automating tasks: minification and copying of all JavaScript files, static images. More capable of watching files to automatically rerun the task when a file changes.
    Grunt
    The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you've configured it, a task runner can do most of that mundane work for you—and your team—with basically zero effort.
    Parcel
    Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration.
    rollup
    It 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.
    Webpacker
    Webpacker makes it easy to use the JavaScript preprocessor and bundler Webpack to manage application-like JavaScript in Rails. It coexists with the asset pipeline, as the purpose is only to use Webpack for app-like JavaScript, not images, css, or even JavaScript Sprinkles (that all continues to live in app/assets).
    See all alternatives
    Decisions about Brunch and Webpack
    Tomáš Pustelník
    Tomáš Pustelník
    JavaScript
    JavaScript
    jQuery
    jQuery
    gulp
    gulp
    Webpack
    Webpack

    I use JavaScript these days and for few years I didn't have to use jQuery at all. I used to use it back in the days when IE8 and similar was a thing. But due to better browser support of native functions for DOM manipulation I could move to vanilla JavaScript. Most of the time, that's all I need to work with modals/accordions and similar. But I'm not saying that jQuery is bad. It was, and still is a great tool. Some of it's features are available in all browsers nowadays so it is not so important as it used to be. But jQuery has still advantage for example in it's selector engine, some DOM selections which are easy in jQuery are a bit more difficult in vanilla JS (you have to create some helper functions or use some 3rd party library to help you with that), but to be honest I needed this on very few occasions. So it really depends on your project (supported browses, plain JS or some bundling - gulp, Webpack, whether you plan to use modules etc.). Hope this helps.

    See more
    Gustavo Muñoz
    Gustavo Muñoz
    Web UI Developer at Globant · | 4 upvotes · 25.2K views
    Webpack
    Webpack
    Grunt
    Grunt
    gulp
    gulp
    Parcel
    Parcel
    #Merge
    #WebPackDevServer

    Using Webpack is one of the best decision ever. I have used to Grunt and gulp previously, but the experience is not the same, and despite I know there are other bundlers like Parcel, Webpack gives me the perfect balance between automatization and configuration. The ecosystem of tools and loaders is amazing, and with WebPack #merge, you can modularize your build and define standard pieces to assemble different build configurations. I don't like processes where you cannot see their guts, and you have to trust in magic a little bit too much for my taste. But also I don't want to reinvent the wheel and lose too much time configuring my build processes. And of course, I love #WebPackDevServer and hot reloading.

    See more
    Interest over time
    Reviews of Brunch and Webpack
    No reviews found
    How developers use Brunch and Webpack
    Avatar of Volkan Özçelik
    Volkan Özçelik uses WebpackWebpack

    Webpack is the best bundler. Period.

    Yes, it has a(n arguably) messy documentation, and a steep learning curve; but once you get the hang of it, there is nothing you cannot do with it.

    Use it and you don’t have to use any other bundler at all.

    It has a vivid ecosystem, and great plugin support.

    Avatar of Alec Cunningham
    Alec Cunningham uses WebpackWebpack

    My preferred build tool; allows me to bundle my JSX, JS, CSS files for easy access and I can pass the bundle through my node server for server side rendering.

    Avatar of Kent Steiner
    Kent Steiner uses WebpackWebpack

    Flexible building and compiling of source for browser consumption, mainly for JS, but experimenting a little with CSS (although I prefer StylusJS for CSS).

    Avatar of Andrew Gatenby
    Andrew Gatenby uses WebpackWebpack

    We use this to optimise the delivery of the client-side for our revised Admin System, so it's able to be delivered to browsers as efficiently as possible.

    Avatar of Cameron Drake
    Cameron Drake uses WebpackWebpack

    Webpack compiles files to bundles with source maps. Using Webpack you can use the latest features (ES6) and have it compiled to compliant js.

    Avatar of Ryan Jennings
    Ryan Jennings uses BrunchBrunch

    compiling web assets

    How much does Brunch cost?
    How much does Webpack cost?
    Pricing unavailable
    Pricing unavailable
    News about Brunch
    More news