1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Updated typescript target to ES2019 (#4869)

This commit is contained in:
Roman 2022-02-25 17:20:22 +02:00 committed by GitHub
parent ff55719ffa
commit 476ca252fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ const getTSLoader = (options: Partial<TSLoaderOptions> = {}, testRegExp?: RegExp
loader: "esbuild-loader",
options: {
loader: "tsx",
target: "es2015",
target: "ES2019", // supported by >= electron@14
implementation: esbuild,
},
};

View File

@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"jsx": "react",
"target": "ES2017",
"target": "ES2019",
"module": "ESNext",
"lib": [
"ESNext",