JavaScript Automating Your Development with webpack Dev Server

Nure México
Nure México
18,595 Points

So should I replace React projects from Gulp to Webpack?

I have some time using Gulp for tasks like, Sass compilation and minification, HTML minification, JS Babel compilation and minification, and watching for file changes. I see is difficult to integrate Webpack into Gulp, or at least there’s no much information in Gulp + React + Webpack + Babel around. I understand Webpack can do all of what Gulp does, so, in this particular projects where I use React, I should only use Webpack? Or there’s a way I can use my Gulp taks + React + Babel + Webpack stuff?

Jesus Mendoza
Jesus Mendoza
23,254 Points

Hey César,

I'd say that the decision is up to you. If you already know Gulp and feel conforable with it you should stick to it, on the other hand if you are trying something new and feel like you need some changes then you should use Webpack!

Nure México
Nure México
18,595 Points

Thanks Jesús, I managed to get this two working together; and they work perfectly fine.