updated tsconfig.target to "ES2019" (seems like supported by electron@14 for both main/renderer)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2022-02-15 18:09:50 +02:00
1 parent d656a9e289
commit 783e6dceec
2 files changed
+2 -2

No files matched your search

+1 -1
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,
},
};
+1 -1
View File
@@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"jsx": "react",
"target": "ES2017",
"target": "ES2019",
"module": "ESNext",
"lib": [
"ESNext",