Commit 8d34d0a
Remove redundant SCSS @import statements
The sass-resources-loader webpack plugin automatically injects
app-variables.scss into all SCSS files, making manual @import
statements redundant and potentially problematic.
The previous fix attempted to import app-variables.scss to resolve
undefined $bright-color variables, but this caused issues with
React Server Components builds. The variables are already available
through the webpack sass-resources-loader configuration.
Changes:
- spec/dummy/client/app/components/HelloWorld.module.scss: Remove @import
- react_on_rails_pro/spec/dummy/client/app/components/HelloWorld.module.scss: Remove @import
Fixes React Router Sixth Page RSC test failure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 706d9eb commit 8d34d0a
File tree
2 files changed
+0
-4
lines changed- react_on_rails_pro/spec/dummy/client/app/components
- spec/dummy/client/app/components
2 files changed
+0
-4
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
0 commit comments