Browse Source

build: 替换vite废弃的选项`brotliSize`为`reportCompressedSize`,移除v-i18n-next的fix warning (#2522)

pull/2542/head
ZhangZhiChao 4 years ago
committed by GitHub
parent
commit
8992ef472e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      vite.config.ts

5
vite.config.ts

@ -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__),
},

Loading…
Cancel
Save