linaria
linaria copied to clipboard
:global() throws an error
Environment
- Linaria version: 2.3.1
- Bundler (+ version): Next.js v12.0.10 (Webpack)
- Node.js version: 16.10.0
- OS: MacOS
Description
:global() { ... } throws an error, which cannot be somehow ignored or something.
What should I do?

Did you see the new version of the Next.js Linaria example added in this PR here? https://github.com/vercel/next.js/pull/41085/files
There are also other solutions in https://github.com/callstack/linaria/issues/589