Files
Niklas MischkulnigandGitHub beee190d8b Fix repoRoot for adapters (#94478)
`repoRoot` shouldn't be `outputFileTracingRoot`. The user can configure
that to arbitrary values, which shouldn't change the adapter output.

The adapter now uses `NextConfigComplete.repoRoot` instead of
`outputFileTracingRoot`.

Closes NEXT-4942
2026-06-18 16:56:19 +02:00

9 lines
215 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
adapterPath: require.resolve('./my-adapter.mjs'),
outputFileTracingRoot: __dirname,
turbopack: { root: __dirname },
}
module.exports = nextConfig