Latest version 2.0.0-rc.1 fails to work with next.js as per with-linaria example. 2.0.0-rc.0 works fine.
yarn
npm i
yarn dev
I managed to get this working with the config from next-linaria
Most helpful comment
I managed to get this working with the config from next-linaria