fix: Change swc react transform to classic runtime.

This commit is contained in:
Gervwyk 2022-02-22 09:20:40 +02:00
parent 7601913cef
commit 55bb5c927e
2 changed files with 2 additions and 2 deletions

2
.swcrc
View File

@ -8,7 +8,7 @@
},
"target": "es2020",
"keepClassNames": true,
"transform": { "react": { "runtime": "automatic" } }
"transform": { "react": { "runtime": "classic" } }
},
"module": {
"type": "es6",

View File

@ -7,7 +7,7 @@
},
"target": "es2020",
"keepClassNames": true,
"transform": { "react": { "runtime": "automatic" } }
"transform": { "react": { "runtime": "classic" } }
},
"module": {
"type": "es6",