Hey everyone, I have a SVG icon that is being inlined into the background-image property of a css rule and it's breaking my criticalcss workflow...
The specific css rule with the problem svg is as follows:
[CriticalCSS] Error thrown in criticalcss.findCritical while processing original.css: Error: undefined:719:395: missing '}'
Any thoughts/help on how to resolve this? I'm running grunt-criticalcss in a production workflow (it runs in the background when a page request is made and the next page call that is executed after the critical css is generated calls the result). This issue is cropping up as part of my cronjob that routinely compresses the CSS in cached webpages on my server...
Hey everyone, I have a SVG icon that is being inlined into the background-image property of a css rule and it's breaking my criticalcss workflow... The specific css rule with the problem svg is as follows:
it produces the following error:
Any thoughts/help on how to resolve this? I'm running grunt-criticalcss in a production workflow (it runs in the background when a page request is made and the next page call that is executed after the critical css is generated calls the result). This issue is cropping up as part of my cronjob that routinely compresses the CSS in cached webpages on my server...