fix: use tsx command directly in server dev script
Use 'tsx src/index.ts' instead of 'node --import tsx' for simpler dev execution Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
56349ee830
commit
84e3659464
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"scripts": {
|
||||
"dev": "VITE_DEV_SERVER_URL=http://localhost:5173 node --import tsx src/index.ts",
|
||||
"dev": "VITE_DEV_SERVER_URL=http://localhost:5173 tsx src/index.ts",
|
||||
"build": "tsup",
|
||||
"start": "node dist/index.js",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
||||
Reference in new issue
Block a user