Gulp or Webpack?

First of all, Gulp and Webpack are not beasts of the same kind. Gulp is a task runner, which you can use for various tasks like minify, run sass to css conversion, copy and rename files etc etc. Anything your heart desires.

Webpack is a module bundler. It’s main purpose is to generate static assets from the application modules and dependencies. If you need tasks, you use npm/yarn with package.json.

So you choose between flexibility/power (gulp) and ease of use (webpack).

Webpack is built into the latest versions (5.x) of Rails, which can be good to know.

Read more:

Comparison of Build Tools

Webpack, Browserify or Gulp – Which is better?

Moving from Gulp to Webpack

Gulp/Webpack or just Webpack?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.