JavaScript
- 16 ответов
- 0 вопросов
9
Вклад в тег
const autoprefixer = require('gulp-autoprefixer');
function scssTask(){
return src(files.scssPath)
.pipe(sourcemaps.init())
.pipe(sass())
.pipe(autoprefixer())
.pipe(sourcemaps.write('.'))
.pipe(dest('public/css')
);
}
"main": "gulpfile.js",
"browserslist": [
"last 2 version",
"> 1%",
"maintained node versions",
"not dead"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},