Skip to content

Commit e92a6d9

Browse files
authored
Merge pull request #7 from humaans/replace-babel-with-swc
Replace Babel with SWC for test transpilation
2 parents cfa5e52 + 821367c commit e92a6d9

7 files changed

Lines changed: 2574 additions & 6245 deletions

File tree

.babelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.nycrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.oxlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": {
3+
"no-unused-vars": "off"
4+
}
5+
}

.swcrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"jsc": {
3+
"parser": {
4+
"syntax": "ecmascript",
5+
"jsx": true
6+
},
7+
"transform": {
8+
"react": {
9+
"runtime": "classic"
10+
}
11+
}
12+
},
13+
"module": {
14+
"type": "commonjs"
15+
}
16+
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.5.0
4+
5+
- Replace Babel with SWC for test transpilation, reducing dev dependencies significantly.
6+
37
## 0.4.7
48

59
- Fix the release, publish the right directory.

0 commit comments

Comments
 (0)