mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Keep reading `config.experimental.outputHashSalt` for now to not break existing adapters until they are migrated.
11 lines
373 B
JavaScript
11 lines
373 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
// Allow tests to inject outputHashSalt via env var without touching source.
|
|
outputHashSalt: process.env.OUTPUT_HASH_SALT_CONFIG || undefined,
|
|
experimental: {
|
|
outputHashSalt:
|
|
process.env.EXPERIMENTAL_OUTPUT_HASH_SALT_CONFIG || undefined,
|
|
},
|
|
adapterPath: require.resolve('./my-adapter.mjs'),
|
|
}
|