silverwolf-x's picture
download
raw
483 Bytes
---
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.

Xet Storage Details

Size:
483 Bytes
·
Xet hash:
3edc35d7768188ac9c80113b5d4dd19c7ea8d2b370cc15f8de3a31dcff5d600b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.