We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ce5b7 commit 5b33927Copy full SHA for 5b33927
apps/server/package.json
@@ -30,6 +30,8 @@
30
"@types/express": "^4.17.24",
31
"@types/node": "^20.19.23",
32
"@types/ws": "^8.18.1",
33
- "prettier": "^3.6.2"
+ "execa": "^9.6.0",
34
+ "prettier": "^3.6.2",
35
+ "tsdown": "^0.15.10"
36
}
37
apps/server/tsdown.config.ts
@@ -0,0 +1,12 @@
1
+import { execaNode } from "execa";
2
+import { defineConfig } from "tsdown";
3
+
4
+export default defineConfig({
5
+ entry: ["./src/main.ts"],
6
+ onSuccess: async (_conf, signal) => {
7
+ await execaNode({
8
+ cancelSignal: signal,
9
+ gracefulCancel: true,
10
+ })`./dist/main.mjs`
11
+ },
12
+});
bun.lockb
21.6 KB
0 commit comments