Unverified Commit 7f60cc8b authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Support serverRuntimeConfig and publicRuntimeConfig in Turbopack (#56310)

Allows `publicRuntimeConfig` / `serverRuntimeConfig` to be set.
parent 8d18ad60
......@@ -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',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment