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" } }