@nrwl/next:custom-server
Add a custom server to existing Next.js application.
Examples
nx g custom-server my-app
Usage
nx generate custom-server ...
By default, Nx will search for custom-server
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/next:custom-server ...
Show what will be generated without writing to disk:
nx g custom-server ... --dry-run