mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
33 lines
554 B
TypeScript
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: {},
|
|
});
|