Ask HN: Is anyone still using Gulp?
To me it's something that made most sense out of all build tools, I can easily see the entire pipeline step by step.
So I'm not sure why it seems to me like nobody is using it. I've been using it for years now it works just as good as back then.
So for example take js files
.pipe(transpile).pipe(bundle_split).pipe(sourcemaps).pipe(minify).pipe(hmr).pipe(versioning)...... etc
for css
.pipe(scss_converter).pipe(sourcemaps).pipe(minifier).pipe(hmr).pipe(version)... etc
i've been able to switch different stuff in and out thanks to community always wrapping newer tools as plugin.
like webpack as bundler, typescript/babel transpilers, auto prefixers, etc.
to me this step by step clear build pipeline makes more sense then hardcoded configs.
but gulp seems to be disappearing??
Found one: Minwiz: https://github.com/zeplia/minwiz
Not promoting this, but its a good Starter kit for lightweight sites which actually works and it's legit.
What i feel, solving a problem is much bigger part of a system then using gulp or webpack or likes.
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...
For older projects and wordpress based projects I still use gulp. For newer ones, webpack.
The reason why gulp is dissapering is because newwer js frameworks like react and vue need webpack to be effective.
It's no longer necessary with tools like create-react-app and next-js. Gulp used to make sense before Webpack and React. You needed to process files, build your project, and have a functioning web server (BrowserSync) that refreshes the browser when you make changes.
The reality is that nextjs and create-react-app are way superior, have TypeScript and Webpack configurations out of the box, and they have their own build process. No reason to use Gulp anymore.
we used to gulp alongside angular at HappyWhale