Skip to content
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

Global css variables not working with @moxy/postcss-preset 5.0.0 #131

Open
tiagodinis opened this issue Mar 10, 2022 · 0 comments
Open

Global css variables not working with @moxy/postcss-preset 5.0.0 #131

tiagodinis opened this issue Mar 10, 2022 · 0 comments

Comments

@tiagodinis
Copy link

Updating @moxy/postcss-preset to version 5 gives the following error:

error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[0].oneOf[4].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[0].oneOf[4].use[2]!./www/app/cookie-banner/CookieBanner.module.css
CssSyntaxError

([object Object]:[object Object]) Selector ":root" is not pure (pure selectors must contain at least one local class or id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant