Files
modelstudioai__cli/packages/cli/vite.config.ts
T
2026-05-28 18:37:07 +08:00

33 lines
554 B
TypeScript

import { defineConfig } from "vite-plus";
export default defineConfig({
test: {
globalSetup: "./tests/e2e/global-setup.ts",
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: {},
});