diff --git a/tsconfig.json b/tsconfig.json index 8adb704..49f70dd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ -{ +{ "compilerOptions": { "target": "ES2022", - "module": "ESNext", + "module": "CommonJS", "moduleResolution": "bundler", - "lib": ["ES2022"], + "lib": ["ES2022", "DOM"], "outDir": "./dist", "rootDir": "./src", "strict": true, @@ -22,3 +22,4 @@ "include": ["src/**/*"], "exclude": ["node_modules", "dist", "**/*.test.ts"] } +