Skip to content

Commit 907ebf5

Browse files
authored
fix: Fix TypeScript module (#31)
It's better to use CommonJS for Node interop.
1 parent 41db7cd commit 907ebf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"outDir": "./dist",
66
"rootDir": "./src",
77
"target": "es5",
8-
"module": "esnext",
8+
"module": "commonjs",
99
"lib": ["dom", "esnext"],
1010
"importHelpers": true,
1111
"declaration": true,

0 commit comments

Comments
 (0)