Commit e252ca0
Configure Babel transpiler for Shakapacker 9.1.0 in Pro dummies
Shakapacker 9.1.0 defaults to SWC transpiler, but the Pro dummy apps
don't have swc-loader installed. Configure them to use Babel instead
by adding javascript_transpiler: babel to shakapacker.yml.
This fixes the build error:
"Your Shakapacker config specified using swc, but swc-loader package
is not installed."
Updated:
- react_on_rails_pro/spec/dummy/config/shakapacker.yml
- react_on_rails_pro/spec/execjs-compatible-dummy/config/shakapacker.yml
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 190279e commit e252ca0
File tree
2 files changed
+2
-0
lines changed- react_on_rails_pro/spec
- dummy/config
- execjs-compatible-dummy/config
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments