postcss-autoreset
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -8,2 +8,5 @@ # Change Log | ||
## [2.0.2] - 2018-02-25 | ||
- Add support for prefixed keyframes(#27, #25). Thnx @olavhaugen for PR | ||
## [2.0.1] - 2017-08-25 | ||
@@ -10,0 +13,0 @@ - Fix keyframes adding to common reset list .Thnx @copycut for suggestion! |
@@ -41,3 +41,3 @@ 'use strict'; | ||
if (rule.parent.name === 'keyframes') return; | ||
if (/^(-(webkit|moz|ms|o)-)?keyframes$/.test(rule.parent.name)) return; | ||
if (!contains(matchedSelectors, selector) && rulesMatcher(rule)) { | ||
@@ -44,0 +44,0 @@ matchedSelectors.push(selector); |
{ | ||
"name": "postcss-autoreset", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "PostCSS plugin for partial styles reset", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -110,5 +110,5 @@ # PostCSS Auto Reset | ||
```js | ||
postcss([ require('postcss-autoreset')]) | ||
postcss([ require('postcss-autoreset')()]) | ||
``` | ||
See [PostCSS] docs for examples for your environment. |
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
12106