linaria
linaria copied to clipboard
Styles only get built every now and then (Next.js)
Environment
- Linaria version: 2.1.0
- Bundler (+ version): Webpack 5 (Next.js 11.0.1)
- Node.js version: 14.16.0
- OS: Ubuntu 20.04
Description
When using styled from next/linaria
, sometimes I have to trigger a re-compile 3 times, sometimes only 1, sometimes more for it to actually compile the updated CSS.
Hi @hyoretsu! Could you please provide a sample code that can show this behaviour?
I'm not quite sure as to what exactly is causing that behavior, but it's happening while I develop this https://github.com/hyoretsu/aufklarung-site