fvtt-ecryme/gulpfile.js

26 lines
455 B
JavaScript
Raw Normal View History

2023-05-03 20:05:31 +02:00
var gulp = require('gulp');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnext = require('cssnext');
var precss = require('precss');
gulp.task('css', function () {
var processors = [
autoprefixer,
cssnext,
precss
];
return gulp.src('./postcss/*.css')
.pipe(postcss(processors))
.pipe(gulp.dest('./styles'));
});
2023-05-26 07:46:06 +02:00
function watchUpdates() {
gulp.watch('./postcss/*.css', css);
}