postcss-discard-comments
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "postcss-discard-comments", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Discard comments in your CSS files with PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -47,3 +47,2 @@ 'use strict'; | ||
} | ||
const parsed = commentParser(source).reduce((value, [type, start, end]) => { | ||
@@ -110,2 +109,4 @@ const contents = source.slice(start, end); | ||
node.raws.important = b.length ? node.raws.important : '!important'; | ||
} else { | ||
node.value = replaceComments(node.value, list.space); | ||
} | ||
@@ -112,0 +113,0 @@ |
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
13202
217