diff --git a/.swcrc b/.swcrc index 662423ad9b..c5e9a93cea 100644 --- a/.swcrc +++ b/.swcrc @@ -1,10 +1,13 @@ { "$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" - }, + // this breaks jest because jest is setting target for some reason + // "env": { + // "targets": "> 0.5%, not dead" + // }, "jsc": { + // without this swc breaks WalletConnect class super() call + "target": "es2020", "keepClassNames": true, "experimental": { "plugins": [