Skip to content

Commit a44f480

Browse files
authored
docs: add build.ssr in config/index.md (#5609)
1 parent f6d08c7 commit a44f480

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/config/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,14 @@ export default defineConfig({
744744

745745
When set to `true`, the build will also generate a SSR manifest for determining style links and asset preload directives in production.
746746

747+
### build.ssr
748+
749+
- **Type:** `boolean | string`
750+
- **Default:** `undefined`
751+
- **Related:** [Server-Side Rendering](/guide/ssr)
752+
753+
Produce SSR-oriented build. The value can be a string to directly specify the SSR entry, or `true`, which requires specifying the SSR entry via `rollupOptions.input`.
754+
747755
### build.minify
748756

749757
- **Type:** `boolean | 'terser' | 'esbuild'`

0 commit comments

Comments
 (0)