-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Could not parse CSS stylesheet #109
Comments
Same, it's breaking JSDOM for me too. Here is my CSS parsing error detail
My guess is that my custom element names are breaking it.
|
cssom@0.5.0 not support @container ,@layer |
will it ever support? or there's a version that does? 🤔 this bug basically exists pointing to CSSOM since 2017, kinda weird no? 🤔 |
Anyone coming here from tailwind land, I ended up using const component = cva('bg-blue-500', {
variants: {
isTestEnv: { false: '@md:bg-red-500' }
},
defaultVariants: {
isTestEnv: typeof jest !== 'undefined',
},
})
component() I couldn't just suppress the error as I have tests which check if elements are hidden that require css parsing |
cssom
is installed with version "0.4.4"and is a dependency for
jsdom
at ^0.4.4Followed this thread when this was an issue at version 0.3.2 with no avail
The text was updated successfully, but these errors were encountered: