postcss-constants
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -0,1 +1,4 @@ | ||
## 0.1.4 | ||
* Paths can be wrapped in single quotes (') | ||
## 0.1.3 | ||
@@ -2,0 +5,0 @@ * Actually use POSTCSS v5. |
@@ -13,2 +13,3 @@ var postcss = require('postcss'); | ||
var getConstants = function(name, path, directory) { | ||
path = path.replace(/'/g, '"'); | ||
var res = resolve.sync(JSON.parse(path), { basedir: nodepath.dirname(directory) }); | ||
@@ -15,0 +16,0 @@ var requiredSet = name.replace(/~/g, ''); |
{ | ||
"name": "postcss-constants", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "PostCSS plugin to process imported constants from a file.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
7362
64