Commit 94015b27 authored by Nate Wienert's avatar Nate Wienert Committed by GitHub

fix: fix jest breaking with new swc setting (#7149)

parent 12918870
{ {
"$schema": "https://json.schemastore.org/swcrc", "$schema": "https://json.schemastore.org/swcrc",
// has to duplicate from package.json, see swc issue: https://swc.rs/docs/configuration/compilation#env // has to duplicate from package.json, see swc issue: https://swc.rs/docs/configuration/compilation#env
"env": { // this breaks jest because jest is setting target for some reason
"targets": "> 0.5%, not dead" // "env": {
}, // "targets": "> 0.5%, not dead"
// },
"jsc": { "jsc": {
// without this swc breaks WalletConnect class super() call
"target": "es2020",
"keepClassNames": true, "keepClassNames": true,
"experimental": { "experimental": {
"plugins": [ "plugins": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment