postcss-discard-duplicates
Advanced tools
Comparing version 4.0.0-nightly.2020.1.9 to 4.0.0-nightly.2020.1.11
@@ -8,4 +8,2 @@ "use strict"; | ||
var _postcss = require("postcss"); | ||
function noop() {} | ||
@@ -146,5 +144,16 @@ | ||
var _default = (0, _postcss.plugin)('postcss-discard-duplicates', () => dedupe); | ||
function pluginCreator() { | ||
return { | ||
postcssPlugin: 'postcss-discard-duplicates', | ||
OnceExit(css) { | ||
dedupe(css); | ||
} | ||
}; | ||
} | ||
pluginCreator.postcss = true; | ||
var _default = pluginCreator; | ||
exports.default = _default; | ||
module.exports = exports.default; |
{ | ||
"name": "postcss-discard-duplicates", | ||
"version": "4.0.0-nightly.2020.1.9", | ||
"version": "4.0.0-nightly.2020.1.11", | ||
"description": "Discard duplicate rules in your CSS files with PostCSS.", | ||
@@ -23,5 +23,2 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"postcss": "^7.0.16" | ||
}, | ||
"homepage": "https://github.com/cssnano/cssnano", | ||
@@ -39,3 +36,9 @@ "author": { | ||
"node": ">=10.13.0" | ||
}, | ||
"devDependencies": { | ||
"postcss": "^8.2.1" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.2.1" | ||
} | ||
} |
6012
119
1
+ Addednanoid@3.3.7(transitive)
+ Addedpicocolors@1.0.0(transitive)
+ Addedpostcss@8.4.38(transitive)
+ Addedsource-map-js@1.2.0(transitive)
- Removedpostcss@^7.0.16
- Removedpicocolors@0.2.1(transitive)
- Removedpostcss@7.0.39(transitive)
- Removedsource-map@0.6.1(transitive)