Commit e3a65aa
committed
Migrate from Babel to SWC transpiler
- Updated shakapacker.yml to use SWC transpiler
- Created .swcrc with configuration (without jsc.target to avoid conflict with Shakapacker's env config)
- Removed Babel configuration and most Babel dependencies
- Added SWC dependencies (@swc/core, @swc/jest, swc-loader)
- Kept @babel/core, @babel/eslint-parser, and @babel/preset-react for ESLint (used by eslint-config-shakacode)
- Configured ESLint parser with requireConfigFile: false to work without babel.config.js
- Kept @babel/runtime for polyfills
- Updated Jest to use @swc/jest instead of babel-jest1 parent 104f07a commit e3a65aa
File tree
6 files changed
+199
-947
lines changed- config
6 files changed
+199
-947
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
| |||
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
| |||
106 | 98 | | |
107 | 99 | | |
108 | 100 | | |
| 101 | + | |
109 | 102 | | |
| 103 | + | |
110 | 104 | | |
| 105 | + | |
| 106 | + | |
111 | 107 | | |
| 108 | + | |
112 | 109 | | |
113 | | - | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
| |||
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
158 | | - | |
| 154 | + | |
159 | 155 | | |
160 | 156 | | |
161 | 157 | | |
| |||
0 commit comments