Files
modelstudioai__cli/packages/cli/vite.config.ts
T

33 lines
553 B
TypeScript
Raw Normal View History

2026-05-28 18:37:07 +08:00
import { defineConfig } from "vite-plus";
export default defineConfig({
test: {
globalSetup: "../e2e/src/global-setup.ts",
2026-05-28 18:37:07 +08:00
testTimeout: 60_000,
hookTimeout: 60_000,
},
pack: {
entry: {
bailian: "src/main.ts",
},
hash: false,
minify: true,
platform: "node",
banner: "#!/usr/bin/env node\n",
outputOptions: {
codeSplitting: false,
},
dts: {
tsgo: true,
},
exports: true,
},
lint: {
options: {
typeAware: true,
typeCheck: true,
},
},
fmt: {},
});