We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
animation-name
1 parent 068e4e3 commit 6846c1dCopy full SHA for 6846c1d
src/processors/processor.ts
@@ -168,7 +168,7 @@ export default class Processor {
168
* @param node The ast "Selector" node to parse
169
*/
170
public storeAnimationProperties = (node: TemplateNode): void => {
171
- if (node.type === 'Declaration' && node.property === 'animation') {
+ if (node.type === 'Declaration' && ['animation', 'animation-name'].includes(node.property)) {
172
let names = 0;
173
let properties = 0;
174
node.value.children.forEach((item: TemplateNode) => {
0 commit comments