Skip to content

Commit

Permalink
Updated docs for the serverless target
Browse files Browse the repository at this point in the history
  • Loading branch information
lfades committed Feb 11, 2020
1 parent 1f9f39e commit cee7dbb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/api-reference/next.config.js/build-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ Your application will be built and deployed as a monolith. This is the default t

> Deployments to [ZEIT Now](https://zeit.co) will automatically enable this target. You do not need to opt-into it yourself, but you can.
This target will make your app [Hybrid](/docs/deployment.md#hybrid-nextjs), meaning:
This target will output independent pages that don't require a monolithic server.

- Pages with blocking data requirements ([SSR](/docs/basic-features/pages.md#server-side-rendering)) will output a self-contained Serverless Function
- Pages that can be [statically generated](/docs/basic-features/pages.md#static-generation) will output HTML, that can be served statically by a CDN

This target is only compatible with `next start` or Serverless deployment platforms (like [ZEIT Now](https://zeit.co)) — you cannot use the custom server API.
It's only compatible with `next start` or Serverless deployment platforms (like [ZEIT Now](https://zeit.co)) — you cannot use the custom server API.

To opt-into this target, set the following configuration in your `next.config.js`:

Expand Down

0 comments on commit cee7dbb

Please sign in to comment.