Unverified Commit 266f2c7d authored by Luke Sandberg's avatar Luke Sandberg Committed by GitHub

[turbopack] Flag `turbopackInferModuleSideEffects` so it is only enabled in canary builds (#87215)

Since we are aiming for a release this week, lets flag this off since it probably won't get enough dogfooding before then.

Also this will unblock landing #86675
parent a44f01b1
......@@ -469,7 +469,7 @@ export interface ExperimentalConfig {
* analyze module code to determine if it has side effects. This can improve tree shaking
* and bundle size at the cost of some additional analysis.
*
* Defaults to `true`.
* Defaults to `true` in canary builds only
*/
turbopackInferModuleSideEffects?: boolean
......@@ -1576,6 +1576,7 @@ export const defaultConfig = Object.freeze({
mcpServer: true,
turbopackFileSystemCacheForDev: true,
turbopackFileSystemCacheForBuild: false,
turbopackInferModuleSideEffects: !isStableBuild(),
},
htmlLimitedBots: undefined,
bundlePagesRouterDependencies: false,
......
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