Commit 1f996e6
Use config/swc.config.js instead of .swcrc for config merging
The .swcrc file completely overrides Shakapacker's swc-loader default
config, which includes important settings like loose: true and env config
for polyfills.
By using config/swc.config.js instead, our React-specific config gets
merged with Shakapacker's defaults via webpack-merge, preserving all the
necessary transpilation settings that Stimulus controllers need.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 07c13ea commit 1f996e6
2 files changed
+9
-22
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments