From 5f2e294a4aa0cdc6e0b8c3130af2d225f9820bb3 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 7 Aug 2024 21:27:04 -0700 Subject: [PATCH] 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. --- packages/next/src/build/flying-shuttle/store-shuttle.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/next/src/build/flying-shuttle/store-shuttle.ts b/packages/next/src/build/flying-shuttle/store-shuttle.ts index 9aa0859a8a8d0..d30c8401d5d7a 100644 --- a/packages/next/src/build/flying-shuttle/store-shuttle.ts +++ b/packages/next/src/build/flying-shuttle/store-shuttle.ts @@ -26,13 +26,10 @@ export function generateShuttleManifest(config: NextConfigComplete) { basePath: config.basePath, sassOptions: config.sassOptions, trailingSlash: config.trailingSlash, - productionBrowserSourceMaps: config.productionBrowserSourceMaps, experimental: { ppr: config.experimental.ppr, reactCompiler: config.experimental.reactCompiler, - serverSourceMaps: config.experimental.serverSourceMaps, - serverMinification: config.experimental.serverMinification, }, }, } satisfies ShuttleManifest)