From 8dacb963ab3c21c25eea7092bb55dfd129bf64d3 Mon Sep 17 00:00:00 2001 From: Nathan Totten Date: Wed, 8 Jul 2026 16:05:09 -0400 Subject: [PATCH] Modify TypeScript configuration for ESNext and ES2022 Updated TypeScript compiler options to use ESNext module and ES2022 target. Changed module resolution strategy to Bundler and added new lib options. --- tsconfig.json | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index f30c3c1..a03e65c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,22 +2,18 @@ "include": ["modules/**/*", ".zuplo/**/*", "tests/**/*"], "exclude": ["./node_modules", "./dist"], "compilerOptions": { - "baseUrl": ".", - "outDir": "./dist", - "module": "commonjs", - "target": "ESNext", + "module": "ESNext", + "target": "ES2022", + "lib": ["ESNext", "WebWorker", "Webworker.Iterable"], "preserveConstEnums": true, - "moduleResolution": "node", + "moduleResolution": "Bundler", "useUnknownInCatchVariables": false, "forceConsistentCasingInFileNames": true, "importHelpers": true, "removeComments": true, "esModuleInterop": true, - "sourceMap": true, - "declaration": true, - "declarationMap": true, + "noEmit": true, "strictNullChecks": true, - "experimentalDecorators": true, - "resolveJsonModule": true + "experimentalDecorators": true } -} \ No newline at end of file +}