Open abdhalees opened 3 years ago
I think this is because gatsby-plugin-sass
is hardcoding modules: false
here for .scss
files. Could be as simple as putting the ...cssLoaderOptions
after the hardcoded options there.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 💪💜
Hey again!
It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to comment on this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks again for being part of the Gatsby community! 💪💜
This pretty much kills module cross-referencing as icss is mode is required for non-module scss files.
Preliminary Checks
Description
after migrating to
gatsby v3
andgatsby-plugin-sass v4
which uses v5 ofwebpack
andcss-loader
I could no longer use:export
in my.scss
files, it just exportsundefined
, this change is documented incss-loader
and there is an example how to bring the old functionality back: https://github.com/webpack-contrib/css-loader#separating-interoperable-css-only-and-css-module-featureshowever, when I add these options to
gatsby-plugin-sass
nothing changesReproduction Link
https://codesandbox.io/s/quizzical-butterfly-88o4h?file=/src/components/layout.js:320-366
Steps to Reproduce
gatsby-plugin-sass
gatsby-config
with these options:Config Flags
No response