Commit 0be82af
Use SWC only for TypeScript, Babel for all JavaScript
Simplified approach: SWC handles only .ts and .tsx files, while Babel
handles all .js, .jsx, and .mjs files. This avoids the Stimulus
compatibility issues entirely while still using SWC for TypeScript.
This is a more maintainable solution than trying to selectively exclude
specific directories from SWC processing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8d7e76b commit 0be82af
1 file changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 76 | + | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 83 | + | |
| 84 | + | |
89 | 85 | | |
90 | | - | |
| 86 | + | |
91 | 87 | | |
92 | | - | |
93 | | - | |
| 88 | + | |
| 89 | + | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
| |||
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments