Commit c24ad81
Add swc-loader to React on Rails generator dependencies
The generators were missing swc-loader and @swc/core in the dev dependencies,
causing CI failures when generating example apps with Shakapacker 9.3.0.
This commit adds both packages to the dev_deps list in:
- lib/generators/react_on_rails/base_generator.rb
- lib/generators/react_on_rails/install_generator.rb
Also fixes ESLint warnings in webpack config for CSS modules configuration.
This ensures that all generated apps have the required SWC dependencies
for Shakapacker 9.3.0's default JavaScript transpiler.
Fixes CI failures in:
- examples (3.2, minimum)
- examples (3.4, latest)
- build-dummy-app-webpack-test-bundles tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2c87311 commit c24ad81
File tree
3 files changed
+6
-0
lines changed- lib/generators/react_on_rails
- spec/dummy/config/webpack
3 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
497 | 499 | | |
498 | 500 | | |
499 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments