fix: make swc not break WalletConnect by targeting a newer version of es (#7139)

This commit is contained in:
Nate Wienert 2023-08-11 07:57:55 -10:00 committed by GitHub
parent 1249371397
commit d4a26a5610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

4
.swcrc

@ -1,5 +1,9 @@
{
"$schema": "https://json.schemastore.org/swcrc",
// has to duplicate from package.json, see swc issue: https://swc.rs/docs/configuration/compilation#env
"env": {
"targets": "> 0.5%, not dead"
},
"jsc": {
"keepClassNames": true,
"experimental": {

@ -58,9 +58,8 @@
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
">0.5%",
"not dead"
],
"development": [
"last 1 chrome version",