Skip to content

Commit

Permalink
Merge pull request #8 from femshima/fix-ts-node-node-20
Browse files Browse the repository at this point in the history
  • Loading branch information
cm-ayf authored Oct 29, 2023
2 parents 9bd5ccd + 3a1df18 commit 7ae8152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"main": "dist/main.js",
"scripts": {
"dev": "ts-node src/main.ts",
"dev": "node --loader ts-node/esm --require dotenv/config src/main.ts",
"build": "node build.js",
"start": "node dist/main.js",
"tsc:check": "tsc --noEmit",
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node",
"require": ["dotenv/config"]
"experimentalSpecifierResolution": "node"
},
"compilerOptions": {
"target": "ES2022",
Expand Down

0 comments on commit 7ae8152

Please sign in to comment.