Skip to content

Commit

Permalink
switch from ts-node to tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
vincerubinetti authored Jan 8, 2024
1 parent 90600ea commit 3323669
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 @@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"compile": "npx --yes ts-node --transpileOnly --esm --experimental-specifier-resolution=node --files ./compile/index.ts",
"compile": "npx tsx ./compile/index.ts",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext .tsx,.ts --fix && prettier --write \"**/*.{tsx,ts,css}\" --no-error-on-unmatched-pattern"
Expand Down

1 comment on commit 3323669

@vincerubinetti
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like ts-node is kind of abandonware with a lot of issues:
TypeStrong/ts-node#1997 (comment)

Please sign in to comment.