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 = [ ...@@ -64,6 +64,8 @@ const supportedTurbopackNextConfigOptions = [
'experimental.deploymentId', 'experimental.deploymentId',
// Experimental options that don't affect compilation // Experimental options that don't affect compilation
'serverRuntimeConfig',
'publicRuntimeConfig',
'experimental.proxyTimeout', 'experimental.proxyTimeout',
'experimental.caseSensitiveRoutes', 'experimental.caseSensitiveRoutes',
'experimental.workerThreads', 'experimental.workerThreads',
......
...@@ -4,7 +4,6 @@ export default { ...@@ -4,7 +4,6 @@ export default {
maxInactiveAge: 1000 * 60 * 60, maxInactiveAge: 1000 * 60 * 60,
}, },
poweredByHeader: false, poweredByHeader: false,
cssModules: true,
serverRuntimeConfig: { serverRuntimeConfig: {
mySecret: 'secret', mySecret: 'secret',
}, },
......
...@@ -4,7 +4,6 @@ module.exports = { ...@@ -4,7 +4,6 @@ module.exports = {
maxInactiveAge: 1000 * 60 * 60, maxInactiveAge: 1000 * 60 * 60,
}, },
poweredByHeader: false, poweredByHeader: false,
cssModules: true,
serverRuntimeConfig: { serverRuntimeConfig: {
mySecret: 'secret', 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