Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Automating Your Development with webpack Dev Server

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,288 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!

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