From f73daf51171ba8076cf84cad72be1e06f1554658 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Mon, 18 Sep 2023 18:24:10 -0700 Subject: [PATCH] tsconfig: Nevermind on nodenext --- tsconfig.base.json | 5 ++--- tsconfig.esm.json | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index 3557a18..c4a5b86 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -7,10 +7,9 @@ "DOM" ], "target": "es2021", - "module": "NodeNext", - "moduleResolution": "NodeNext", + "module": "es2020", + "moduleResolution": "node", - "verbatimModuleSyntax": true, "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 8726891..c62fb78 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -4,8 +4,9 @@ "src/__tests__" ], "compilerOptions": { - "module": "NodeNext", - "moduleResolution": "NodeNext", + "verbatimModuleSyntax": true, + "module": "es2020", + "moduleResolution": "node", "outDir": "./lib.esm" } }