Skip to content

Commit 905fb2c

Browse files
committed
tsdown
1 parent 5b33927 commit 905fb2c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"license": "MIT",
55
"main": "./dist/main.js",
6+
"type": "module",
67
"scripts": {
78
"dev": "bun --watch ./src/main.ts",
89
"build": "bun build --sourcemap=inline --target bun --outdir ./dist ./src/main.ts",

apps/server/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export default defineConfig({
77
await execaNode({
88
cancelSignal: signal,
99
gracefulCancel: true,
10-
})`./dist/main.mjs`
10+
})`./dist/main.js`
1111
},
1212
});

0 commit comments

Comments
 (0)