@nx/next:custom-server
Add a custom server to existing Next.js application.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Add a custom server to existing Next.js application.
❯
nx g custom-server my-app
1nx generate custom-server ...
2By default, Nx will search for custom-server in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/next:custom-server ...
2Show what will be generated without writing to disk:
1nx g custom-server ... --dry-run
2The name of the project.
tsctsc, swcThe compiler used to build the custom server.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!