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:
parent
ff55719ffa
commit
476ca252fb
@ -23,7 +23,7 @@ const getTSLoader = (options: Partial<TSLoaderOptions> = {}, testRegExp?: RegExp
|
|||||||
loader: "esbuild-loader",
|
loader: "esbuild-loader",
|
||||||
options: {
|
options: {
|
||||||
loader: "tsx",
|
loader: "tsx",
|
||||||
target: "es2015",
|
target: "ES2019", // supported by >= electron@14
|
||||||
implementation: esbuild,
|
implementation: esbuild,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"target": "ES2017",
|
"target": "ES2019",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"lib": [
|
"lib": [
|
||||||
"ESNext",
|
"ESNext",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user