Skip to content

Commit

Permalink
fix: load modules via commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdajon committed Jan 19, 2022
1 parent 9cf9694 commit 25d51e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "script"]
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "script"],
"compilerOptions": {
"module": "commonjs"
}
}
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"compilerOptions": {
"target":"es5",
"lib": [
"es6"
],
"target":"ESNEXT",
"module":"commonjs",
"declaration": true,
"removeComments": true,
Expand Down

0 comments on commit 25d51e1

Please sign in to comment.