Unverified Commit 1a867bbb authored by Shu Ding's avatar Shu Ding Committed by GitHub

Add missing config vars into Webpack cache key (#49663)

Add missing `serverActions` and `typedRoutes` to the Webpack config
cache key as they can affect the build assets.
parent f169c32d
...@@ -2489,6 +2489,8 @@ export default async function getBaseWebpackConfig( ...@@ -2489,6 +2489,8 @@ export default async function getBaseWebpackConfig(
optimizeCss: config.experimental.optimizeCss, optimizeCss: config.experimental.optimizeCss,
nextScriptWorkers: config.experimental.nextScriptWorkers, nextScriptWorkers: config.experimental.nextScriptWorkers,
scrollRestoration: config.experimental.scrollRestoration, scrollRestoration: config.experimental.scrollRestoration,
serverActions: config.experimental.serverActions,
typedRoutes: config.experimental.typedRoutes,
basePath: config.basePath, basePath: config.basePath,
pageEnv: config.experimental.pageEnv, pageEnv: config.experimental.pageEnv,
excludeDefaultMomentLocales: config.excludeDefaultMomentLocales, excludeDefaultMomentLocales: config.excludeDefaultMomentLocales,
......
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