Skip to content

Commit

Permalink
docs: build.minify defaults to false for SSR (#15636)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jan 18, 2024
1 parent e43f7ee commit 53452df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/build-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ During the SSR build, static assets aren't emitted as it is assumed they would b
## build.minify
- **Type:** `boolean | 'terser' | 'esbuild'`
- **Default:** `'esbuild'`
- **Default:** `'esbuild'` for client build, `false` for SSR build
Set to `false` to disable minification, or specify the minifier to use. The default is [esbuild](https://github.com/evanw/esbuild) which is 20 ~ 40x faster than terser and only 1 ~ 2% worse compression. [Benchmarks](https://github.com/privatenumber/minification-benchmarks)
Expand Down

0 comments on commit 53452df

Please sign in to comment.