Skip to content

Commit dbbeb94

Browse files
author
Ashesh Vidyut
committed
not adding container to moz and webkit keyframes
1 parent 708e00b commit dbbeb94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const postCssWrapperPlugin= postCss.plugin('postcss-wrapper-plugin', function(pr
66
css.walkRules(function(rule) {
77
if (_.isEqual(_.get('parent.name', rule), 'keyframes'))
88
return;
9+
if (_.isEqual(_.get('parent.name', rule), '-webkit-keyframes'))
10+
return;
11+
if (_.isEqual(_.get('parent.name', rule), '-moz-keyframes'))
12+
return;
913

1014
const selector = rule.selector;
1115
rule.selector = _.pipe(_.split(','), _.map(_.pipe(_.trim, joinPrefix(prefix))),

0 commit comments

Comments
 (0)