File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,8 @@ export interface ExperimentalConfig {
409409
410410 /**
411411 * Enable filesystem cache for the turbopack dev server.
412+ *
413+ * Defaults to `true` in canary releases.
412414 */
413415 turbopackFileSystemCacheForDev ?: boolean
414416
@@ -1525,6 +1527,8 @@ export const defaultConfig = Object.freeze({
15251527 proxyClientMaxBodySize : 10_485_760 , // 10MB
15261528 hideLogsAfterAbort : false ,
15271529 mcpServer : true ,
1530+ turbopackFileSystemCacheForDev : ! isStableBuild ( ) ,
1531+ turbopackFileSystemCacheForBuild : false ,
15281532 } ,
15291533 htmlLimitedBots : undefined ,
15301534 bundlePagesRouterDependencies : false ,
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ function assignDefaultsAndValidate(
400400
401401 if ( isStableBuild ( ) ) {
402402 // Prevents usage of certain experimental features outside of canary
403- if ( result . experimental ? .turbopackFileSystemCacheForBuild ) {
403+ if ( result . experimental . turbopackFileSystemCacheForBuild ) {
404404 throw new CanaryOnlyConfigError ( {
405405 feature : 'experimental.turbopackFileSystemCacheForBuild' ,
406406 } )
You can’t perform that action at this time.
0 commit comments