diff --git a/rule.js b/rule.js index 2bfb232..68ec521 100644 --- a/rule.js +++ b/rule.js @@ -69,6 +69,13 @@ module.exports = { // e.g. `{ ...foo }` return; } + + if (property.key.type === 'Literal') { + // Skip literal keys for now. + // e.g. `@keyframes myAnimation: { }` + return; + } + definedClasses[property.key.name] = property; }); }