mirror of
https://github.com/langgenius/dify.git
synced 2026-07-16 09:58:42 +08:00
21 lines
393 B
TypeScript
21 lines
393 B
TypeScript
import { defineConfig } from 'vite-plus'
|
|
|
|
export default defineConfig({
|
|
pack: {
|
|
clean: true,
|
|
deps: {
|
|
neverBundle: ['@hono/node-server', 'c12', 'hono'],
|
|
},
|
|
entry: ['src/index.ts', 'src/cli.ts'],
|
|
format: ['esm'],
|
|
outDir: 'dist',
|
|
platform: 'node',
|
|
sourcemap: true,
|
|
target: 'node22',
|
|
treeshake: true,
|
|
},
|
|
test: {
|
|
environment: 'node',
|
|
},
|
|
})
|