mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
vite配置优化
This commit is contained in:
parent
e09880dc34
commit
4df04d2d07
@ -17,7 +17,7 @@ export default function createVitePlugins(viteEnv, isBuild = false) {
|
||||
vitePlugins.push(createSvgIcon(isBuild))
|
||||
vitePlugins.push(createMock())
|
||||
isBuild && vitePlugins.push(...createCompression(viteEnv))
|
||||
vitePlugins.push(...createSpritesmith())
|
||||
vitePlugins.push(...createSpritesmith(isBuild))
|
||||
vitePlugins.push(createBanner())
|
||||
return vitePlugins
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user