Skip to content

Commit

Permalink
fix: Fix TypeScript module (#31)
Browse files Browse the repository at this point in the history
It's better to use CommonJS for Node interop.
  • Loading branch information
bebraw authored Apr 1, 2020
1 parent 41db7cd commit 907ebf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"outDir": "./dist",
"rootDir": "./src",
"target": "es5",
"module": "esnext",
"module": "commonjs",
"lib": ["dom", "esnext"],
"importHelpers": true,
"declaration": true,
Expand Down

0 comments on commit 907ebf5

Please sign in to comment.