mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-07 20:58:11 +00:00
build: 替换vite废弃的选项brotliSize
为reportCompressedSize
,移除v-i18n-next的fix warning (#2522)
This commit is contained in:
@@ -79,13 +79,10 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
// },
|
||||
// },
|
||||
// Turning off brotliSize display can slightly reduce packaging time
|
||||
brotliSize: false,
|
||||
reportCompressedSize: false,
|
||||
chunkSizeWarningLimit: 2000,
|
||||
},
|
||||
define: {
|
||||
// setting vue-i18-next
|
||||
// Suppress warning
|
||||
__INTLIFY_PROD_DEVTOOLS__: false,
|
||||
__APP_INFO__: JSON.stringify(__APP_INFO__),
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user