From 160910bb8528b156b0c9bda8ad094e5a182df126 Mon Sep 17 00:00:00 2001 From: zclzone Date: Wed, 29 May 2024 18:22:56 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 0e889b2..708008c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -17,10 +17,9 @@ import { NaiveUiResolver } from 'unplugin-vue-components/resolvers' import removeNoMatch from 'vite-plugin-router-warn' import { pluginPagePathes, pluginIcons } from './build/plugin-isme' -export default defineConfig(({ command, mode }) => { - const isBuild = command === 'build' +export default defineConfig(({ mode }) => { const viteEnv = loadEnv(mode, process.cwd()) - const { VITE_TITLE, VITE_PUBLIC_PATH, VITE_PROXY_TARGET } = viteEnv + const { VITE_PUBLIC_PATH, VITE_PROXY_TARGET } = viteEnv return { base: VITE_PUBLIC_PATH || '/',