next-with-moxy icon indicating copy to clipboard operation
next-with-moxy copied to clipboard

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

Open tiagodinis opened this issue 3 years ago • 0 comments

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)

tiagodinis avatar Mar 10 '22 16:03 tiagodinis