Commit 3fe61f0
Fix CSS modules config for server bundle
Preserve namedExport and exportLocalsConvention settings when adding
exportOnlyLocals for SSR. This prevents CSS module imports from being
undefined in the server-rendered bundle.
The previous code was replacing the entire modules object, which broke
the namedExport configuration required by Shakapacker 9.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5d85f15 commit 3fe61f0
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments