Skip to content

Commit

Permalink
docs: replace build.brotliSize with build.reportCompressedSize [ci sk…
Browse files Browse the repository at this point in the history
…ip] (#5863)
  • Loading branch information
ydcjeff committed Nov 27, 2021
1 parent 8a8b296 commit f1b8b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config/index.md
Expand Up @@ -786,12 +786,12 @@ export default defineConfig({

By default, Vite will empty the `outDir` on build if it is inside project root. It will emit a warning if `outDir` is outside of root to avoid accidentally removing important files. You can explicitly set this option to suppress the warning. This is also available via command line as `--emptyOutDir`.

### build.brotliSize
### build.reportCompressedSize

- **Type:** `boolean`
- **Default:** `true`

Enable/disable brotli-compressed size reporting. Compressing large output files can be slow, so disabling this may increase build performance for large projects.
Enable/disable gzip-compressed size reporting. Compressing large output files can be slow, so disabling this may increase build performance for large projects.

### build.chunkSizeWarningLimit

Expand Down

0 comments on commit f1b8b5f

Please sign in to comment.