Files

33 lines
551 B
TypeScript
Raw Permalink Normal View History

import { defineConfig } from "vite-plus";
export default defineConfig({
test: {
globalSetup: "../e2e/src/global-setup.ts",
testTimeout: 60_000,
hookTimeout: 60_000,
},
pack: {
entry: {
kscli: "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: {},
});