mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-06-17 04:28:59 +08:00
style: 删除无用代码
This commit is contained in:
parent
d3d002770b
commit
160910bb85
@ -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 || '/',
|
||||
|
Loading…
x
Reference in New Issue
Block a user