Skip to content

Commit

Permalink
fix: make ts-node work on node20
Browse files Browse the repository at this point in the history
  • Loading branch information
maxam2017 committed Feb 16, 2024
1 parent 6b430e4 commit 6c73d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"scripts": {
"preinstall": "./preinstall.sh",
"dev": "ts-node-esm src/index.ts",
"dev": "node --loader ts-node/esm src/index.ts",
"build": "tsc && ncc build dist/index.js --minify && find dist/ -type f -not -name 'index.js' -delete",
"lint": "biome lint"
},
Expand Down

0 comments on commit 6c73d01

Please sign in to comment.