mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-05 06:12:44 +08:00
!21 feat(vite-config): 添加页面配置文件至重启监听列表
Merge pull request !21 from h_mo/dev
This commit is contained in:
commit
c1e80faef2
@ -74,7 +74,7 @@ export default defineConfig(async ({ mode }) => {
|
|||||||
UnoCSS(),
|
UnoCSS(),
|
||||||
transformClass(),
|
transformClass(),
|
||||||
ViteRestart({
|
ViteRestart({
|
||||||
restart: ['vite.config.ts'],
|
restart: ['vite.config.ts', 'src/pages.json'],
|
||||||
}),
|
}),
|
||||||
isH5 && isProd
|
isH5 && isProd
|
||||||
&& visualizer({
|
&& visualizer({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user