Unverified Commit 5f2e294a authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Remove extraneous configs from cache manifest (#68645)

As discussed we can tolerate sharing cache between source maps enabled
and not e.g. sharing cache from main -> preview so this drops those
related configs from the cache manifest.
parent be10d2a5
...@@ -26,13 +26,10 @@ export function generateShuttleManifest(config: NextConfigComplete) { ...@@ -26,13 +26,10 @@ export function generateShuttleManifest(config: NextConfigComplete) {
basePath: config.basePath, basePath: config.basePath,
sassOptions: config.sassOptions, sassOptions: config.sassOptions,
trailingSlash: config.trailingSlash, trailingSlash: config.trailingSlash,
productionBrowserSourceMaps: config.productionBrowserSourceMaps,
experimental: { experimental: {
ppr: config.experimental.ppr, ppr: config.experimental.ppr,
reactCompiler: config.experimental.reactCompiler, reactCompiler: config.experimental.reactCompiler,
serverSourceMaps: config.experimental.serverSourceMaps,
serverMinification: config.experimental.serverMinification,
}, },
}, },
} satisfies ShuttleManifest) } satisfies ShuttleManifest)
......
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