Vite build

This commit is contained in:
Donald Zou
2025-08-16 16:54:31 +08:00
parent f777ac5f75
commit 24940886f6
48 changed files with 73 additions and 94 deletions

View File

@@ -3,7 +3,6 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import {proxy} from "./proxy.js";
import vue from '@vitejs/plugin-vue'
import {v1} from "uuid";
export default defineConfig(({mode}) => {
if (mode === 'electron'){
@@ -33,7 +32,7 @@ export default defineConfig(({mode}) => {
}
return {
base: "/static/app/dist",
base: "./",
plugins: [
vue(),
],