File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ export interface ExperimentalConfig {
410410 /**
411411 * Enable filesystem cache for the turbopack dev server.
412412 *
413- * Defaults to `true` in canary releases .
413+ * Defaults to `true`.
414414 */
415415 turbopackFileSystemCacheForDev ?: boolean
416416
@@ -1527,7 +1527,7 @@ export const defaultConfig = Object.freeze({
15271527 proxyClientMaxBodySize : 10_485_760 , // 10MB
15281528 hideLogsAfterAbort : false ,
15291529 mcpServer : true ,
1530- turbopackFileSystemCacheForDev : ! isStableBuild ( ) ,
1530+ turbopackFileSystemCacheForDev : true ,
15311531 turbopackFileSystemCacheForBuild : false ,
15321532 } ,
15331533 htmlLimitedBots : undefined ,
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ import { dset } from '../shared/lib/dset'
3838import { normalizeZodErrors } from '../shared/lib/zod'
3939import { HTML_LIMITED_BOT_UA_RE_STRING } from '../shared/lib/router/utils/is-bot'
4040import { findDir } from '../lib/find-pages-dir'
41- import {
42- CanaryOnlyConfigError ,
43- isStableBuild ,
44- } from '../shared/lib/errors/canary-only-config-error'
4541import { interopDefault } from '../lib/interop-default'
4642import { djb2Hash } from '../shared/lib/hash'
4743import type { NextAdapter } from '../build/adapter/build-complete'
@@ -398,15 +394,6 @@ function assignDefaultsAndValidate(
398394 )
399395 }
400396
401- if ( isStableBuild ( ) ) {
402- // Prevents usage of certain experimental features outside of canary
403- if ( result . experimental . turbopackFileSystemCacheForBuild ) {
404- throw new CanaryOnlyConfigError ( {
405- feature : 'experimental.turbopackFileSystemCacheForBuild' ,
406- } )
407- }
408- }
409-
410397 if ( result . experimental . ppr ) {
411398 throw new HardDeprecatedConfigError (
412399 `\`experimental.ppr\` has been merged into \`cacheComponents\`. The Partial Prerendering feature is still available, but is now enabled via \`cacheComponents\`. Please update your ${ configFileName } accordingly.`
You can’t perform that action at this time.
0 commit comments