Incomplete and unclear documentation on how to get rid of target: serverless on next config js
See original GitHub issueWhat version of Next.js are you using?
12.0.2
What version of Node.js are you using?
14.17.6
What browser are you using?
Chrome
What operating system are you using?
MacOs
How are you deploying your application?
Serverless
Describe the Bug
Hello,
I updated to next js v12 today, and after reading the breaking changes in the blog I saw that the option target: serverless
on the next.config.js file is going to be deprecated in a future version. (In the blog is written as a breaking change, as if it will make the app not work from this recently released version, which doesn’t seem to be the case).
There is a link to explain how to “possibly” solve it, but the documentation is extremely poor. It generates us more questions than answers.
I open this issue as a bug, because to have good documentation should be part of such a major release.
Expected Behavior
It would be really nice to have a more extended and detailed documentation, including code samples. Having a guide for specific for when using Serverless would be amazing.
To Reproduce
Visit https://nextjs.org/docs/advanced-features/output-file-tracing
Issue Analytics
- State:
- Created 2 years ago
- Reactions:12
- Comments:7 (3 by maintainers)
Top GitHub Comments
Hi, there is an active PR here which expands the tooling around leveraging these traces and expanded documentation/examples will follow as well.
Thanks, @ijjk! I’ve posted the PR and new docs for my team to take a look at. We’ll follow up if we have additional questions. Appreciate your work on this 😃