mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-28 20:10:22 +08:00
build: remove vite-plugin-simple-html
This commit is contained in:
@@ -14,7 +14,6 @@ import Unocss from 'unocss/vite'
|
||||
import AutoImport from 'unplugin-auto-import/vite'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
|
||||
import simpleHtmlPlugin from 'vite-plugin-simple-html'
|
||||
import removeNoMatch from 'vite-plugin-router-warn'
|
||||
import { pluginPagePathes, pluginIcons } from './build/plugin-isme'
|
||||
|
||||
@@ -37,14 +36,6 @@ export default defineConfig(({ command, mode }) => {
|
||||
resolvers: [NaiveUiResolver()],
|
||||
dts: false,
|
||||
}),
|
||||
simpleHtmlPlugin({
|
||||
minify: isBuild,
|
||||
inject: {
|
||||
data: {
|
||||
title: VITE_TITLE,
|
||||
},
|
||||
},
|
||||
}),
|
||||
// 自定义插件,用于生成页面文件的path,并添加到虚拟模块
|
||||
pluginPagePathes(),
|
||||
// 自定义插件,用于生成自定义icon,并添加到虚拟模块
|
||||
|
||||
Reference in New Issue
Block a user