mirror of
https://github.com/langgenius/dify.git
synced 2026-09-19 02:07:44 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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',
|
|
},
|
|
})
|