Css order is different in turbopack and in webpack #81417
Shaurya-kgen
started this conversation in
Turbopack Error Report
Replies: 1 comment
-
Can confirm that this is still happening only when using the Removing it (aka running dev with webpack) fixes the issue for now, but it would be great if we could get a fix for this because .scss modules never had a problem and we'd like to keep on using turbo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The order in which css styles are being applied is different in turbopack and webpack. I have a dropdown component which is being imported from the mantine library and I am applying style on that using the scss module.
Code example -
For turbopack the css being applied are

For Webpack the css being applied are

I am using scss modules to apply styles and the component is from mantine which has its style sheet imported in the layout.tsx file
Nextjs version - 15.3.4
mantine version - 7.10.2
sass version - 1.62.1
Why is there a difference between turbopack and webpack?
Beta Was this translation helpful? Give feedback.
All reactions