Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const gulp = require('gulp');
- const postcss = require('gulp-postcss');
- const syntax = require('postcss-less');
- const autoprefixer = require('autoprefixer');
- gulp.task('default', () =>
- gulp.src('less/*.less')
- .pipe(postcss([
- autoprefixer({ browsers: ['last 2 versions'] })
- ], { syntax }))
- .pipe(gulp.dest('build/less'))
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement