Commit c01eecc
Replace Babel with SWC for test transpilation
Babel was only used via @babel/register to transform ESM imports and JSX
at runtime for ava tests. SWC does the same job significantly faster with
fewer dependencies (net removal of 60 packages).
- Delete .babelrc, replace with .swcrc
- Delete .nycrc (only referenced Babel-specific istanbul config, unused by c8)
- Swap @babel/* deps for @swc/core + @swc-node/register
- Update ava config to use @swc-node/register with SWCRC=true
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cfa5e52 commit c01eecc
7 files changed
Lines changed: 2574 additions & 6245 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments