fix(server-runtime): missing build for bin

This commit is contained in:
Neko Ayaka
2025-11-24 02:44:49 +08:00
parent 383a83d0c5
commit 15d2acb268
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { env } from 'node:process'
import { plugin as ws } from 'crossws/server'
import { serve } from 'h3'
import { app } from '../'
import { app } from '..'
serve(app, {
// TODO: fix types
+4 -3
View File
@@ -1,9 +1,10 @@
import { defineConfig } from 'tsdown'
export default defineConfig({
entry: [
'src/index.ts',
],
entry: {
'index': 'src/index.ts',
'bin/run': 'src/bin/run.ts',
},
target: 'node18',
outDir: 'dist',
clean: true,