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

Webpack

26.3K
18.1K
+ 1
751
Yeoman

1.6K
1.2K
+ 1
396
Add tool

Webpack vs Yeoman: What are the differences?

What is 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.

What is Yeoman? A set of tools for automating development workflow. Yeoman is a robust and opinionated set of tools, libraries, and a workflow that can help developers quickly build beautiful, compelling web apps. It is comprised of yo - a scaffolding tool using our generator system, grunt - a task runner for your build process and bower for dependency management.

Webpack can be classified as a tool in the "JS Build Tools / JS Task Runners" category, while Yeoman is grouped under "Front End Scaffolding Tools".

"Most powerful bundler", "Built-in dev server with livereload" and "Can handle all types of assets" are the key factors why developers consider Webpack; whereas "Lightning-fast scaffolding", "Automation" and "Great build process" are the primary reasons why Yeoman is favored.

Webpack and Yeoman are both open source tools. It seems that Webpack with 49.5K GitHub stars and 6.22K forks on GitHub has more adoption than Yeoman with 9.23K GitHub stars and 759 GitHub forks.

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

Decisions about Webpack and Yeoman
Aleksandr Filatov
Contract Software Engineer - Microsoft · | 0 upvote · 78.8K views
Why migrated?

I could define the next points why we have to migrate:

  • Decrease build time of our application. (It was the main cause).
  • Also jspm install takes much more time than npm install.
  • Many config files for SystemJS and JSPM. For Webpack you can use just one main config file, and you can use some separate config files for specific builds using inheritance and merge them.
See more

We mostly use rollup to publish package onto NPM. For most all other use cases, we use the Meteor build tool (probably 99% of the time) for publishing packages. If you're using Node on FHIR you probably won't need to know rollup, unless you are somehow working on helping us publish front end user interface components using FHIR. That being said, we have been migrating away from Atmosphere package manager towards NPM. As we continue to migrate away, we may publish other NPM packages using rollup.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Webpack
Pros of Yeoman
  • 308
    Most powerful bundler
  • 182
    Built-in dev server with livereload
  • 143
    Can handle all types of assets
  • 87
    Easy configuration
  • 21
    Laravel-mix
  • 4
    Overengineered, Underdeveloped
  • 2
    Makes it easy to bundle static assets
  • 2
    Webpack-Encore
  • 1
    Better support in Browser Dev-Tools
  • 1
    Redundant
  • 121
    Lightning-fast scaffolding
  • 83
    Automation
  • 78
    Great build process
  • 57
    Open source
  • 49
    Yo
  • 8
    Unit Testing

Sign up to add or upvote prosMake informed product decisions

Cons of Webpack
Cons of Yeoman
  • 11
    Hard to configure
  • 2
    Spaghetti-Code out of the box
  • 2
    SystemJS integration is quite lackluster
  • 2
    Loader architecture is quite a mess (unreliable/buggy)
  • 2
    Fire and Forget mentality of Core-Developers
  • 2
    No clear direction
  • 1
    Even harder to debug than Javascript

Sign up to add or upvote consMake informed product decisions

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.

What is Yeoman?

Yeoman is a robust and opinionated set of tools, libraries, and a workflow that can help developers quickly build beautiful, compelling web apps. It is comprised of yo - a scaffolding tool using our generator system, grunt - a task runner for your build process and bower for dependency management.

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

What companies use Webpack?
What companies use Yeoman?
See which teams inside your own company are using Webpack or Yeoman.
Sign up for Private StackShareLearn More

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

What tools integrate with Webpack?
What tools integrate with Yeoman?

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

What are some alternatives to Webpack and Yeoman?
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.
Babel
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Parcel
Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration.
Browserify
Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
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.
See all alternatives