set emit-target and libs to ES2022, avoid static-blocks, fix Error#cause conflict

https://github.com/microsoft/vscode/issues/185991
This commit is contained in:
Johannes
2023-06-30 11:43:19 +02:00
parent 032b14c3ff
commit eeae481e47
6 changed files with 7 additions and 29 deletions

View File

@@ -17,29 +17,10 @@
"./vs/*"
]
},
"target": "es2022",
"useDefineForClassFields": false,
"lib": [
"ES2016",
"ES2017.Object",
"ES2017.String",
"ES2017.Intl",
"ES2017.TypedArrays",
"ES2018.AsyncIterable",
"ES2018.AsyncGenerator",
"ES2018.Promise",
"ES2018.Regexp",
"ES2018.Intl",
"ES2019.Array",
"ES2019.Object",
"ES2019.String",
"ES2019.Symbol",
"ES2020.BigInt",
"ES2020.Promise",
"ES2020.String",
"ES2020.Symbol.WellKnown",
"ES2020.Intl",
"ES2021.Promise",
"ES2021.String",
"ES2021.WeakRef",
"ES2022",
"DOM",
"DOM.Iterable",
"WebWorker.ImportScripts"