Merge branch 'master' of https://gitea.zianxin.com/zax/biz-pc-cockpit
This commit is contained in:
commit
2a98e5d154
1 file changed
+2
@@ -2,11 +2,13 @@ import { fileURLToPath, URL } from "node:url";
|
||||
import { loadEnv, defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig((mode) => {
|
||||
const env = loadEnv(mode.mode, process.cwd());
|
||||
|
||||
return {
|
||||
base: process.env.NODE_ENV === 'production' ? '/cockpit/' : '/',
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in new issue
Block a user