Pain point · Reliability & bugs · Blocks work
CSS imports may be ordered incorrectly
3 source threads · first seen 2020-08 · last seen 2024-04
Summary
Users reported that CSS imported from JavaScript may not be ordered correctly, which can change styling outcomes.
- Affects
- Next.js developers using CSS imports
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“Different CSS resolution order between development and production”
“Styles are imported multiple times wherever `Button` was used (page and layout) and order is also not deterministic”
“A user on twitter reported that Next.js may not order CSS imports from JS correctly”