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 383a83d commit 15d2acbCopy full SHA for 15d2acb
packages/server-runtime/src/bin/run.ts
@@ -5,7 +5,7 @@ import { env } from 'node:process'
5
import { plugin as ws } from 'crossws/server'
6
import { serve } from 'h3'
7
8
-import { app } from '../'
+import { app } from '..'
9
10
serve(app, {
11
// TODO: fix types
packages/server-runtime/tsdown.config.ts
@@ -1,9 +1,10 @@
1
import { defineConfig } from 'tsdown'
2
3
export default defineConfig({
4
- entry: [
- 'src/index.ts',
- ],
+ entry: {
+ 'index': 'src/index.ts',
+ 'bin/run': 'src/bin/run.ts',
+ },
target: 'node18',
outDir: 'dist',
clean: true,
0 commit comments