What is gulp?
Who uses gulp?
Why developers like gulp?
Here are some stack decisions, common use cases and reviews by members of with gulp in their tech stack.
I use gulp to power my build/minification flow, as well as for running a local livereload webserver while coding. gulp
Switched from grunt and haven't looked back. Like using standard npm libs instead of relying on a grunt-specific plugin. gulp
Compile stylesheets and work with browserify to wire up dependencies and optimize front-end application code. gulp
Here are some stack decisions, common use cases and reviews by companies and developers who chose gulp in their tech stack.
In 2014, PagerDuty struggled with safely releasing reliable mobile applications to users due to some issues with how the code was being packaged and handled.
PagerDuty’s mobile apps are hybrid and used Cordova to share code between platforms. Coding was straightforward but packaging was not, as a separated Gulp-based build process was also being used. The PagerDuty team took a page from Java and started creating software artifacts.
Scenario: I want to integrate Prettier in our code base which is currently using ESLint (for .js and .scss both). The project is using gulp.
It doesn't feel quite right to me to use ESLint, I wonder if it would be better to use Stylelint or Sass Lint instead.
I completed integrating ESLint + Prettier, Planning to do the same with [ Stylelint || Sasslint || EsLint] + Prettier.
And have gulp 'fix' on file save (Watcher).
Any recommendation is appreciated.
Using Webpack is one of the best decision ever. I have used to Grunt and gulp previously, but the experience is not the same, and despite I know there are other bundlers like Parcel, Webpack gives me the perfect balance between automatization and configuration. The ecosystem of tools and loaders is amazing, and with WebPack #merge, you can modularize your build and define standard pieces to assemble different build configurations. I don't like processes where you cannot see their guts, and you have to trust in magic a little bit too much for my taste. But also I don't want to reinvent the wheel and lose too much time configuring my build processes. And of course, I love #WebPackDevServer and hot reloading.
Have had gulp in my build toolbox for years now. Sure all the cool kids are using Webpack etc now as do I on some projects, but I love how easy it is to knock up a config, to load the dependencies and to script the simple tasks we do most often (concat, lint check, sass, etc..) with an easily repeatable config style and less opacity than some of the heavy hitters. Might not have the one-stop-shop that the 800lb gorillas have but still relevant on the tool-belt
- By preferring code over configuration, gulp keeps simple things simple and makes complex tasks manageable.
- By harnessing the power of node's streams you get fast builds that don't write intermediary files to disk.
- gulp's strict plugin guidelines assure plugins stay simple and work the way you expect.
- With a minimal API surface, you can pick up gulp in no time. Your build works just like you envision it: a series of streaming pipes.