DEV Community

Set up Gulp to do “all the things” for your front end

Elise Gaetz Ferguson on June 19, 2019

Recently I set out to see if I could get gulp to do all my front end “things” for me automatically. I had previously been using the VSCode task run...
Collapse
 
iskin profile image
Andrey Sitnik

Great guide. I can add few extra options from PostCSS community:

  1. browsers option was deprecated in Autoprefixer. It is better to create .browserslistrc config (main reason is that this common config will be used by multiple tools). Here is more docs: github.com/browserslist/browserslist
  2. gulp-autoprefixer is not an official way to use Autoprefixer and could create some bugs. We recommend to use gulp-postcss with autoprefixer() plugin. More details: github.com/postcss/autoprefixer#gulp