Update build script in package.json to use 'bunx tsc' for TypeScript compilation, enhancing build process consistency.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "fastify start -l info dist/app.js",
|
||||
"build": "tsc",
|
||||
"build": "bunx tsc",
|
||||
"watch": "tsc -w",
|
||||
"dev": "bun run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"bun:watch\" \"bun:dev:start\"",
|
||||
"dev:start": "bun run build && fastify start -d --ignore-watch=.ts$ -w -l info -P dist/app.js",
|
||||
|
||||
Reference in New Issue
Block a user