Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez
Last active February 10, 2021 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidPeralvarez/f68b50c38a1d88e53d7963512e65dd2c to your computer and use it in GitHub Desktop.
Save DavidPeralvarez/f68b50c38a1d88e53d7963512e65dd2c to your computer and use it in GitHub Desktop.
Gulp Autoprefixer - "gulp-autoprefixer"
var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer');
gulp.task('prefijos', function(done){
gulp.src('./src/style.css')
.pipe(autoprefixer({
overrideBrowserslist: ['last 4 versions'],
flexbox : true,
grid : true
}))
.pipe(gulp.dest('./dist'));
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment