3 ms·
The advantage of gulp was a unified plugin interface, composability and cross platform compatibility. Webpack has filled the gap, with it's unified plugin inte
by gitgud 6y ago
The advantage of gulp was a unified plugin interface, composability and cross platform compatibility.
Webpack has filled the gap, with it's unified plugin interface and is arguably much simpler and constrained than gulp. Cross-platform is also becoming less important as all popular OS's have implemented native unix shells.
Also, one of the main benefit's of gulp is running different build commands, which is only appropriate for a small portion of projects anyway...
- lifeplusplus 6y agomy experience with webpack has been if you want to do exactly what it was designed to do, it's great, but if you want different setup it's best used as just as a bundler instead of as entire build pipeline. not that it's not possible, but it's like pulling a tooth.
- gitgud 6y agoYeah that's true, I mean I use gulp for browser extension builds, as there's a few random tasks (img compression, copying files, babel) that need to be done in order to build cross platform. Would be a pain in webpack. My example: https://github.com/benwinding/newsit/blob/master/gulpfile.js https://github.com/benwinding/newsit/blob/master/gulpfile.js