postcss-css-variables
Advanced tools
Comparing version
# v0.8.1 - 2018-3-21 | ||
- Log `undefined` variables (available in `result.warnings()`) | ||
- Thank you to [@pixeldrew](https://github.com/pixeldrew) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/69) | ||
# v0.8.0 - 2017-8-8 | ||
@@ -4,0 +9,0 @@ |
@@ -237,3 +237,3 @@ // PostCSS CSS Variables (postcss-css-variables) | ||
var decl = node; | ||
resolveDecl(decl, map, opts.preserve); | ||
resolveDecl(decl, map, opts.preserve, logResolveValueResult); | ||
} | ||
@@ -240,0 +240,0 @@ }); |
@@ -25,3 +25,3 @@ | ||
if(currentNodeParent.type === 'atrule') { | ||
scopePieces = [].concat(currentNodeParent.params).map(function(param, index) { | ||
scopePieces = [].concat(currentNodeParent.params).map(function(param) { | ||
return { | ||
@@ -28,0 +28,0 @@ value: '@' + currentNodeParent.name + ' ' + param, |
{ | ||
"name": "postcss-css-variables", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representation", | ||
@@ -26,2 +26,4 @@ "keywords": [ | ||
"clean-css": "^4.1.7", | ||
"eslint": "^4.4.1", | ||
"eslint-plugin-react": "^7.1.0", | ||
"gulp": "^3.8.11", | ||
@@ -33,4 +35,5 @@ "gulp-eslint": "^4.0.0", | ||
"scripts": { | ||
"test": "gulp" | ||
"test": "gulp", | ||
"lint": "eslint ." | ||
} | ||
} |
54048
1.32%20
11.11%10
25%