fix(server-runtime): missing build for bin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user