Skip to content

Commit

Permalink
fix: skip keyframes with webkit prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Nov 9, 2023
1 parent 96fedb4 commit 6ca2ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const parseStylesheet = (css, dynamic) => {
return csstreeWalkSkip;
}
if (cssNode.type === 'Atrule') {
if (cssNode.name === 'keyframes') {
if (cssNode.name === 'keyframes' || cssNode.name === '-webkit-keyframes') {
return csstreeWalkSkip;
}
csstree.walk(cssNode, (ruleNode) => {
Expand Down

0 comments on commit 6ca2ec6

Please sign in to comment.