-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Styles missing from build when using gatsby-plugin-sass with CSS modules #4457
Comments
Possibly related #4418 I'm noticing that my styles from css modules are not being inserted on build. (This is the case on netlify, but also is if I run build and then serve the public folder locally - which would indicate it's perhaps not a netlify specific issue in ref to: #4418) Develop runs and compiles styles fine. After upgrading two warings appear:
|
Also noting here that clearing the |
I traced the issues I was having to changes in this commit #4379 to gatsby plugin sass. I locked the version back down to
and build works again. |
/cc @erquhart |
Looking through the recent releases and tags, I don't see when |
Can confirm that I don't have CSS issues if I lock down |
@awesomebob @chrisk2020 can either of you provide steps to reproduce? |
If you can put a repro together I'll work on a fix. |
https://github.com/awesomebob/gatsby-i4457 I found that the Downgrading |
Opened #4495 to address. |
I can try a git bisect in the morning, was just wondering if someone already knows what's going on:
After updating Gatsby with
yarn upgrade
from 1.9.219 to 1.9.231, I'm noticing that my CSS styling is a bit wonky after a build withyarn build
. Notably, I don't see any problems withyarn develop
.The primary thing I'm missing is this rule, although I'm not sure where it came from originally:
That's not the only thing different, but it's about 90% of what I'm noticing.
Is there any recent change that would prevent this rule from being added to builds but not deploys?
The text was updated successfully, but these errors were encountered: