Files
koring-launcher/vite.config.ts
T

28 lines
586 B
TypeScript
Raw Normal View History

2026-06-19 23:50:40 +08:00
import path from "path";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig(async () => ({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
2026-06-28 03:37:07 +08:00
base: "./",
2026-06-19 23:50:40 +08:00
build: {
rollupOptions: {
input: {
main: path.resolve(__dirname, "index.html"),
2026-06-20 22:15:59 +08:00
splash: path.resolve(__dirname, "splash.html"),
2026-06-19 23:50:40 +08:00
},
},
},
clearScreen: false,
server: {
port: 1420,
strictPort: true,
},
}));