aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js
index b04a38ea..f3bdac1a 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -18,6 +18,8 @@ const resolve = require('rollup-plugin-node-resolve');
const sass = require('gulp-sass');
const clean = require('gulp-clean-css');
const prefix = require('gulp-autoprefixer');
+const postcss = require('gulp-postcss');
+const customprops = require('postcss-custom-properties');
// Images
const svgstore = require('gulp-svgstore');
@@ -195,6 +197,7 @@ Object.entries(build.css).forEach(([filename, entry]) => {
cascade: false,
}),
)
+ .pipe(postcss([customprops()]))
.pipe(clean())
.pipe(size(sizeOptions))
.pipe(gulp.dest(entry.dist)),