How is Browserify/Webpack a replacement for Grunt/Gulp? Genuine question.
Re:Why we should stop using Grunt and Gulp
by lerouxb on Tuesday December 09, 2014 @08:54AM
(#8722664)
It isn't a replacement for Grunt/Gulp. It is a replacement for browserify or perhaps require.js.
It builds your javascript and css (and images!) into one or more bundles which does overlap with what people often use grunt for. In my experience it generally obviates the need for grunt because what's left to do once you've packaged and minified your js, css and images and you have your source maps, etc.?
I suppose the rest can be done with npm scripts, but simple tasks like running tests could even be done from bash or a makefile anyway.
Here's a good recent presentation on webpack: http://adrianrossouw.github.io/webpack-uber-alles/
Re:Why we should stop using Grunt and Gulp
by Guillaume86 on Tuesday December 09, 2014 @04:24AM
(#8721845)
They have their own plugin/watching systems, I'm trying webpack on a project and I'm just starting it with a "npm run" command.
While we're at the subject, might I suggest using webpack instead of browserify? It's roughly the same, but less buggy.