Skip to content

Commit

Permalink
Fix issue importing ESM modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Hanson committed May 10, 2023
1 parent 57f0c60 commit 39cbd91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "Monorepo for project bootstrapping CLIs",
"main": "index.js",
"type": "module",
"scripts": {
"belt": "bin/belt",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"skipLibCheck": true,
"types": ["node"]
},
"ts-node": {
"esm": true
},
"include": ["./**/*"]
}

0 comments on commit 39cbd91

Please sign in to comment.