postcss-minify-params
Advanced tools
Comparing version 4.0.0-rc.0 to 4.0.0-rc.1
@@ -0,1 +1,5 @@ | ||
# Head | ||
* Resolves an issue with mangling css-modules' `@value` at-rule. | ||
# 4.0.0-rc.0 | ||
@@ -2,0 +6,0 @@ |
@@ -58,3 +58,7 @@ 'use strict'; | ||
function transform(rule) { | ||
if (!rule.params) { | ||
// We should not re-arrange parameters for css-modules' @value | ||
// at-rule. For example: | ||
// | ||
// @value vertical, center from "./foo.css"; | ||
if (!rule.params || rule.name === 'value') { | ||
return; | ||
@@ -61,0 +65,0 @@ } |
{ | ||
"name": "postcss-minify-params", | ||
"version": "4.0.0-rc.0", | ||
"version": "4.0.0-rc.1", | ||
"description": "Minify at-rule params with PostCSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7476
87