postcss-normalize-url
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -0,1 +1,5 @@ | ||
# 3.0.4 | ||
* Fixes incorrect minification of empty non-url functions. | ||
# 3.0.3 | ||
@@ -2,0 +6,0 @@ |
@@ -38,3 +38,3 @@ 'use strict'; | ||
decl.value = valueParser(decl.value).walk(function (node) { | ||
if (node.type !== 'function' || node.value !== 'url' && node.nodes.length) { | ||
if (node.type !== 'function' || node.value !== 'url' || !node.nodes.length) { | ||
return; | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "postcss-normalize-url", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Normalize URLs with PostCSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7881