---
url: >-
  https://game-engine-io.github.io/enginex-frontend-sdk/reference/api/@getenginex/sdk-next/config.md
---
[Reference](../../../index.md) / @getenginex/sdk-next/config

# @getenginex/sdk-next/config

`next.config` helper of the Next adapter: `withEnginex`, the `/api/:path*` → gateway rewrite. It is neither
server nor client code (it runs when the config loads) and has an ESM and a CJS build.

## Next

* [EnginexRewrite](interfaces/EnginexRewrite.md)
* [WithEnginexOptions](interfaces/WithEnginexOptions.md)
* [EnginexRewrites](type-aliases/EnginexRewrites.md)
* [WithEnginexConfig](type-aliases/WithEnginexConfig.md)
* [WithEnginexRewrites](type-aliases/WithEnginexRewrites.md)
* [withEnginex](functions/withEnginex.md)
