Commit ce796aa
committed
Disable SWC loose mode for Stimulus compatibility
The loose: true mode in Shakapacker's default SWC config can cause issues
with class method binding. Explicitly setting loose: false ensures that
Stimulus controller methods are properly bound and can respond to events
like turbo:submit-end.1 parent eebfdec commit ce796aa
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
0 commit comments