nx
nx copied to clipboard
Improve `@nrwl/next:server` `customServerPath` docs
This adds more details on what is the customServerPath option, and how to use it.
Some of my problems were:
- I created a server.js, that did not export a function, instead, it was a file that was run:
node server.js. It showed an error that "customServer is not a function" - I changed server.js to export a default function. Now it did run, but it still didn't work as expected
- I noticed a specific comment in an specific issue that showed what was the function signature, and an example on how to use it, which fixed all errors
Because the issue has a public solution but it is not documented, I added it to the documentation
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 9ce85a3a0473b7812c5c6818dc185772768b6c8d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
Sent with 💌 from NxCloud.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Updated |
|---|---|---|---|
| nx-dev | ⬜️ Ignored (Inspect) | Dec 19, 2022 at 2:16PM (UTC) |
great
Hey! Thanks for contributing can you rebase your branch with the latest master?
Can you rebase again please
Deprecated the feature.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.