Support serverRuntimeConfig and publicRuntimeConfig in Turbopack (#56310)
Allows `publicRuntimeConfig` / `serverRuntimeConfig` to be set.
This commit is contained in:
parent
8d18ad60d7
commit
7f60cc8b0f
3 changed files with 2 additions and 2 deletions
|
@ -64,6 +64,8 @@ const supportedTurbopackNextConfigOptions = [
|
|||
'experimental.deploymentId',
|
||||
|
||||
// Experimental options that don't affect compilation
|
||||
'serverRuntimeConfig',
|
||||
'publicRuntimeConfig',
|
||||
'experimental.proxyTimeout',
|
||||
'experimental.caseSensitiveRoutes',
|
||||
'experimental.workerThreads',
|
||||
|
|
|
@ -4,7 +4,6 @@ export default {
|
|||
maxInactiveAge: 1000 * 60 * 60,
|
||||
},
|
||||
poweredByHeader: false,
|
||||
cssModules: true,
|
||||
serverRuntimeConfig: {
|
||||
mySecret: 'secret',
|
||||
},
|
||||
|
|
|
@ -4,7 +4,6 @@ module.exports = {
|
|||
maxInactiveAge: 1000 * 60 * 60,
|
||||
},
|
||||
poweredByHeader: false,
|
||||
cssModules: true,
|
||||
serverRuntimeConfig: {
|
||||
mySecret: 'secret',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue