zmoazeni / csscss

A CSS redundancy analyzer that analyzes redundancy.

Home Page:http://zmoazeni.github.io/csscss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't know what to do with "@keyframes"

davidpaulsson opened this issue · comments

I got this quite big css file and I though your project would be a good addition to optimize it, but it chokes when it reaches @Keyframes in my css. Is there any support for this?

This is what I get when i run it with --show-parser-errors

Had a problem parsing the css at line: 4141, column: 1
Failed to match sequence (SPACE? blocks:((COMMENT / IMPORT / NESTED_RULESET / RULESET){1, }) SPACE?) at line 4141 char 1.
`- Don't know what to do with "@keyframes" at line 4141 char 1.

Yeah that's a bug in the parser. Thank for reporting @davidpaulsson

@davidpaulsson can you paste a snippet with @keyframes that fails? I'm not able to reproduce on my side.