-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style variables missing in Next.js #3
Comments
The It is weird that the styles coming from library/modules are not included in the stylex chunk: Lines 110 to 116 in 67b9c12
|
Could it be related to RSC? Not an exact replication but we can see a similar issue here - https://github.com/sumanbh/next-stylex-webpack - navigating from home Also, shouldn't stylex-webpack collect styles from all pages? I've found this next.js specific logic results in different file sizes (and missing style variables) for the generated css file based on the route user's in. |
I can't re-produce this using
In fact, the |
Something is off with the logic of nextjsMode - it does not include all the generated styles if the styles are coming from a library/package:
Workaround: if we remove the clear call, then we do get all the styles (as far as I can tell).
The text was updated successfully, but these errors were encountered: