5 ms·
The move to npm scripts is such a regressive fashion choice in the frontend world. Which of the following sounds better? - Write your build with the full power
by tptee 10y ago
The move to npm scripts is such a regressive fashion choice in the frontend world. Which of the following sounds better?
- Write your build with the full power of the language you use everyday and orchestrate it with a thin layer like Gulp
- Write uncommented (and uncomment-able) bash scripts where parallelism, streaming, and cross-platform compatibility require nontrivial effort
Gulp isn't as complicated as some have insinuated. You don't even need to use Gulp plugins if that's a concern–it's just Node!
I'd much rather write Javascript to build Javascript than memorize CLI arguments and break all of my scripts on Windows.
I will say that the best part of npm scripts is that they're not Grunt :)
- pauldotknopf 10y agoExactly, you can treat Gulp like the a pure make system, and do whatever you want in each target.