mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
125be085e5
- Updated build process to include a new script for building the client bundle in ModuleLoader format. - Introduced `build-client.mjs` to handle client-side bundling with esbuild. - Added `client.ts` to implement the DSH web UI, including settings and usage pages. - Registered new settings section for managing credentials and token usage. - Refactored API routes to remove `/api` prefix for consistency. - Cleaned up Vite configuration by removing unused client entry.
19 lines
324 B
TypeScript
19 lines
324 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
pack: {
|
|
entry: ["src/index.ts", "src/tokenplan-usage/index.ts", "src/memory/index.ts"],
|
|
minify: true,
|
|
dts: {
|
|
tsgo: true,
|
|
},
|
|
},
|
|
lint: {
|
|
options: {
|
|
typeAware: true,
|
|
typeCheck: true,
|
|
},
|
|
},
|
|
fmt: {},
|
|
});
|