Comparing version 1.3.0 to 1.4.0
@@ -22,2 +22,3 @@ const fs = require('fs'); | ||
--import-from, -i Import CSS variables from file (https://github.com/postcss/postcss-custom-properties#importfrom) | ||
--export-to, -e Export CSS variables to file (https://github.com/postcss/postcss-custom-properties#exportto) | ||
@@ -138,10 +139,4 @@ Examples | ||
const customProps = { preserve: false }; | ||
if (importFrom) { | ||
customProps.importFrom = importFrom; | ||
} | ||
plugins.push(...[ | ||
require('postcss-custom-properties')(customProps), | ||
require('postcss-custom-properties')({ preserve: false, exportTo, importFrom }), | ||
require('postcss-calc'), | ||
@@ -148,0 +143,0 @@ require('autoprefixer'), |
{ | ||
"name": "cessie", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Transpile your CSS bundle to support CSS variables, calc, and future CSS for non supported browsers.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -62,2 +62,3 @@ <br> | ||
--import-from, -i Import CSS variables from file (https://github.com/postcss/postcss-custom-properties#importfrom) | ||
--export-to, -e Export CSS variables to file (https://github.com/postcss/postcss-custom-properties#exportto) | ||
@@ -64,0 +65,0 @@ Examples |
16614
103
160