UNPKG

next

Version:

The React Framework

18 lines (13 loc) 483 B
--- title: Configuration description: Configure `adapterPath` or `NEXT_ADAPTER_PATH` to use a custom deployment adapter. --- To use an adapter, specify the path to your adapter module in `adapterPath`: ```js filename="next.config.js" /** @type {import('next').NextConfig} */ const nextConfig = { adapterPath: require.resolve('./my-adapter.js'), } module.exports = nextConfig ``` Alternatively `NEXT_ADAPTER_PATH` can be set to enable zero-config usage in deployment platforms.