postcss-discard-duplicates
Advanced tools
Comparing version
{ | ||
"name": "postcss-discard-duplicates", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Discard duplicate rules in your CSS files with PostCSS.", | ||
@@ -34,3 +34,3 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"postcss": "^8.4.38" | ||
"postcss": "^8.4.40" | ||
}, | ||
@@ -37,0 +37,0 @@ "peerDependencies": { |
@@ -147,3 +147,3 @@ 'use strict'; | ||
dedupeRule(last, nodes); | ||
} else if (last.type === 'atrule' || last.type === 'decl') { | ||
} else if ((last.type === 'atrule' && last.name !== 'layer') || last.type === 'decl') { | ||
dedupeNode(last, nodes); | ||
@@ -150,0 +150,0 @@ } |
@@ -6,3 +6,3 @@ export = pluginCreator; | ||
*/ | ||
declare function pluginCreator(): import('postcss').Plugin; | ||
declare function pluginCreator(): import("postcss").Plugin; | ||
declare namespace pluginCreator { | ||
@@ -9,0 +9,0 @@ let postcss: true; |
7071
0.38%