Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Serverless Note in Docs #11861

Merged
merged 1 commit into from
Apr 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api-reference/next.config.js/build-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Your application will be built and deployed as a monolith. This is the default t

## `serverless` target

> Deployments to [ZEIT Now](https://zeit.co) will automatically enable this target. You do not need to opt-into it yourself, but you can.
> Deployments to [ZEIT Now](https://zeit.co) will automatically enable this target. You should not opt-into it yourself.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention if they want to debug something locally they should use the actual target we use, experimental-serverless-trace?

Copy link
Member Author

@Timer Timer Apr 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hesitant to add something with experimental in the name. I'm pretty confident in its ability such that we don't need to explain how to troubleshoot in the docs, node-file-trace is pretty battle tested.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, experimental-serverless-trace should realistically never fail when run locally (in cases that server would succeed). The actual tracing (which you'd need to troubleshoot) is an implementation detail of our builder.


This target will output independent pages that don't require a monolithic server.

Expand Down