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 removeNoMatch from 'vite-plugin-router-warn'
|
||||||
import { pluginPagePathes, pluginIcons } from './build/plugin-isme'
|
import { pluginPagePathes, pluginIcons } from './build/plugin-isme'
|
||||||
|
|
||||||
export default defineConfig(({ command, mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
const isBuild = command === 'build'
|
|
||||||
const viteEnv = loadEnv(mode, process.cwd())
|
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 {
|
return {
|
||||||
base: VITE_PUBLIC_PATH || '/',
|
base: VITE_PUBLIC_PATH || '/',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user