This commit is contained in:
2026-05-17 03:53:15 +03:30
commit 329ddc9ced
41 changed files with 5558 additions and 0 deletions

23
vite.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "node:path";
export default defineConfig({
plugins: [react()],
clearScreen: false,
server: {
strictPort: true,
host: "127.0.0.1",
port: 1420,
},
envPrefix: ["VITE_", "TAURI_"],
build: {
target: "es2022",
rollupOptions: {
input: {
main: resolve(__dirname, "index.html"),
badge: resolve(__dirname, "badge.html"),
},
},
},
});