I remember I passed through all the "trends" around it and I'm super impressed how fast the ecosystem is evolving.
From browserify to webpack, from grunt to gulp, from coffee-script to typescript. It's never been so exciting.
I remember I passed through all the "trends" around it and I'm super impressed how fast the ecosystem is evolving.
From browserify to webpack, from grunt to gulp, from coffee-script to typescript. It's never been so exciting.
Not to mention every loader is programmed...
I’m really not sure what you’re getting at here.
Build systems have historically favored declarative configuration over programmability. See Makefiles for an example.
I’m not saying that’s necessarily the right approach, but it does seem like declarative configuration is a natural way to define a build system.
That said, I wholeheartedly agree there is much room for improvement with webpack.
Gulp is a tool that lets you decide what the build process should look like.
Webpack is a tool where you define entry points, split points etc., and what you finally need. Based on that webpack decides how to go about the build.
Most of what Gulp does, can be replaced with NPM scripts.
It's also very easy to find build bottlenecks with gulp which is very handy if you have a large project with a slow build. It allows you to scale out efficiently.
Yes, production (“non-watch”) builds can take a while. But who cares? You shouldn’t be running a production build after every code change. That’s why the hot reload server is so useful; it only recompiles the code you changed.
It seems to tie into the debate around frameworks vs libraries, or the unix philosophy vs enterprise philosophy too, but that's a whole 'nother thing.
- npm scripts ( mocha, nyc, tsc, etc... )
- webpack
- gulp