mirror of
https://github.com/musistudio/claude-code-router.git
synced 2025-10-04 05:42:08 +08:00
- Created separate build script to handle both CLI and UI building - Added automatic UI dependency installation - Copy built UI artifacts to dist directory 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
389 B
TypeScript
16 lines
389 B
TypeScript
import path from "path"
|
|
import react from "@vitejs/plugin-react"
|
|
import { defineConfig } from "vite"
|
|
import { viteSingleFile } from "vite-plugin-singlefile"
|
|
import tailwindcss from "@tailwindcss/vite"
|
|
|
|
|
|
export default defineConfig({
|
|
base: './',
|
|
plugins: [react(), tailwindcss(), viteSingleFile()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
})
|