Unverified Commit bebc755a authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Ensure serverSourceMaps is in webpack cache key (#67786)

This needs to invalidate webpack cache since source maps require
regenerating the entries same as productionBrowserSourceMaps config.

x-ref: [slack
thread](https://vercel.slack.com/archives/C056QDZARTM/p1721058737378969)
parent 9964a85e
...@@ -2133,6 +2133,7 @@ export default async function getBaseWebpackConfig( ...@@ -2133,6 +2133,7 @@ export default async function getBaseWebpackConfig(
modularizeImports: config.modularizeImports, modularizeImports: config.modularizeImports,
imageLoaderFile: config.images.loaderFile, imageLoaderFile: config.images.loaderFile,
clientTraceMetadata: config.experimental.clientTraceMetadata, clientTraceMetadata: config.experimental.clientTraceMetadata,
serverSourceMaps: config.experimental.serverSourceMaps,
}) })
const cache: any = { const cache: any = {
......
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