@modular-css/processor
Advanced tools
Comparing version 25.8.0 to 25.8.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [25.8.2](https://github.com/tivac/modular-css/compare/v25.8.1...v25.8.2) (2020-09-02) | ||
### Bug Fixes | ||
* **processor:** don't scope [@keyframes](https://github.com/keyframes) contents ([#781](https://github.com/tivac/modular-css/issues/781)) ([dd41bf1](https://github.com/tivac/modular-css/commit/dd41bf111158be235fa50c52d10c6ca203994e4f)) | ||
# [25.8.0](https://github.com/tivac/modular-css/compare/v25.7.0...v25.8.0) (2020-06-29) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@modular-css/processor", | ||
"version": "25.8.0", | ||
"version": "25.8.2", | ||
"description": "A streamlined reinterpretation of CSS Modules", | ||
@@ -40,3 +40,3 @@ "main": "./processor.js", | ||
}, | ||
"gitHead": "195da8f0975058c4e0a050267862e11b77e6c2e3" | ||
"gitHead": "19018f164e7cbda00df4a61d53213e77de217ac5" | ||
} |
@@ -98,6 +98,11 @@ "use strict"; | ||
css.walkRules((rule) => { | ||
// Don't process the children of @keyframes, they don't need scoping | ||
if(rule.parent.type === "atrule" && rule.parent.name === "keyframes") { | ||
return; | ||
} | ||
// Save closure ref to this rule | ||
current = rule; | ||
lookup = classes; | ||
rule.selector = parser.processSync(rule); | ||
@@ -104,0 +109,0 @@ }); |
180667
5073