chore(toolchain): upgrade Bun to 1.4.4 and migrate console to TanStack Router

This commit is contained in:
root committed 2026-11-06 00:02:36 +08:00
1 parent b44ebc2ba1
commit 3b9376c75a
134 files changed
+893 -692

No files matched your search

+3 -2
View File
@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import { reactRouter } from "@react-router/dev/vite";
import tailwindcss from "@tailwindcss/vite";
import react from "@vitejs/plugin-react";
import { defineConfig, loadEnv, type Plugin } from "vite";
/** 读取 git 短哈希(不依赖 git 命令) */
@@ -52,7 +52,8 @@ export default defineConfig(({ mode }) => {
const apiTarget = env.VITE_API_TARGET || "http://localhost:4390";
return {
plugins: [tailwindcss(), reactRouter(), appVersion()],
plugins: [tailwindcss(), react(), appVersion()],
build: { outDir: "build/client" },
resolve: { tsconfigPaths: true },
server: {
port: 5180,