Re:Gulp.js: The streaming build system
by bellerocky on Thursday August 21, 2014 @12:20PM
(#8208116)
Webpack is really easy to use and works very nicely with commonjs/nodejs style `module.exports` and `require` which is how I use it now. The place where it becomes incompatible is with the syntax that webpack adds to require statements. Stuff like `require("css!./file.css");` So you could use webpack to build things you once built with browserify, but if you start using `css!` you can't go back easily.
I prefer webpack just because how easy it is to use and how fast it is. It comes with its own watcher too, but I use gulp watch since I use gulp for building less, not the webpack less loader. I haven't wrapped my head around using `require` statements for less just yet.
Re:Gulp.js: The streaming build system
by AdrianRossouw on Thursday August 21, 2014 @12:18PM
(#8208100)
webpack uber alles.
start here : https://github.com/petehunt/webpack-howto
Re:Gulp.js: The streaming build system
by thealphanerd on Thursday August 21, 2014 @01:08PM
(#8208393)
Fancy seeing you in a webpack thread :P
I have never used Webpack (and now very little about it), but was wondering if it is worth investigating it?