Skip to content

Commit 7fd36a8

Browse files
justin808claude
andcommitted
Fix SCSS undefined variable error by importing app-variables
Add @import statement to HelloWorld.module.scss files to import app-variables.scss which defines $bright-color variable. This fixes the "Undefined variable" SCSS compilation error during webpack builds. Fixed in both: - spec/dummy/client/app/components/HelloWorld.module.scss - react_on_rails_pro/spec/dummy/client/app/components/HelloWorld.module.scss 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6db68c5 commit 7fd36a8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "../assets/styles/app-variables.scss";
2+
13
.brightColor {
24
color: $bright-color;
35
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "../assets/styles/app-variables.scss";
2+
13
.brightColor {
24
color: $bright-color;
35
}

0 commit comments

Comments
 (0)