aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-25 22:46:09 +0200
committerHampusM <hampus@hampusmat.com>2021-07-25 22:46:09 +0200
commit25210ec3e13b6b47d8ba9a51263ab556cd7dc002 (patch)
tree5993d5b5ce0f25abb2d9a6f1669aab7c848529bc
parent9739d929188ed74a10f0eea9d2f2e6bb4decf191 (diff)
Changed Typescript js & module versions to ES2020
-rw-r--r--packages/client/tsconfig.json4
-rw-r--r--packages/server/tsconfig.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/client/tsconfig.json b/packages/client/tsconfig.json
index ed61201..eedafcb 100644
--- a/packages/client/tsconfig.json
+++ b/packages/client/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
- "target": "esnext",
- "module": "esnext",
+ "target": "ES2020",
+ "module": "ES2020",
"strict": true,
"jsx": "preserve",
"moduleResolution": "node",
diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json
index 8e44465..6ba87ff 100644
--- a/packages/server/tsconfig.json
+++ b/packages/server/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
- "target": "es5",
- "module": "commonjs",
+ "target": "ES2020",
+ "module": "ES2020",
"outDir": "dist",
"strict": true,
"esModuleInterop": true,