20260711存档01

This commit is contained in:
2026-07-11 23:33:44 +08:00
parent 9cb6a6e571
commit 2b19144352
56 changed files with 2156 additions and 627 deletions
+4
View File
@@ -2,6 +2,7 @@ import path from "path";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import pkg from "./package.json";
export default defineConfig(async () => ({
plugins: [react(), tailwindcss()],
@@ -10,6 +11,9 @@ export default defineConfig(async () => ({
"@": path.resolve(__dirname, "./src"),
},
},
define: {
__APP_VERSION__: JSON.stringify(pkg.version),
},
base: "./",
build: {
rollupOptions: {