mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-16 13:23:39 +00:00
feat: initial ui redesign from demo
This commit is contained in:
+3
-2
@@ -3,6 +3,7 @@ import fs from "fs";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
const sslCertPath = path.join(process.cwd(), "ssl/termix.crt");
|
||||
const sslKeyPath = path.join(process.cwd(), "ssl/termix.key");
|
||||
@@ -83,7 +84,7 @@ function getManualChunk(id: string): string | undefined {
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
plugins: [react(), tailwindcss(), svgr()],
|
||||
define: {
|
||||
"import.meta.env.VITE_APP_VERSION": JSON.stringify(
|
||||
packageJson.version || "0.0.0",
|
||||
@@ -91,7 +92,7 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
"@": path.resolve(__dirname, "./src/ui"),
|
||||
},
|
||||
},
|
||||
base: process.env.VITE_BASE_PATH || "./",
|
||||
|
||||
Reference in New Issue
Block a user