Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
3feffe96
Commit
3feffe96
authored
Nov 10, 2025
by
Luke Sandberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release turbopackFileSystemCacheForBuild to stable builds
parent
7fb1093d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
config-shared.ts
packages/next/src/server/config-shared.ts
+2
-2
config.ts
packages/next/src/server/config.ts
+0
-13
No files found.
packages/next/src/server/config-shared.ts
View file @
3feffe96
...
...
@@ -410,7 +410,7 @@ export interface ExperimentalConfig {
/**
* Enable filesystem cache for the turbopack dev server.
*
* Defaults to `true`
in canary releases
.
* Defaults to `true`.
*/
turbopackFileSystemCacheForDev
?:
boolean
...
...
@@ -1527,7 +1527,7 @@ export const defaultConfig = Object.freeze({
proxyClientMaxBodySize
:
10
_485_760
,
// 10MB
hideLogsAfterAbort
:
false
,
mcpServer
:
true
,
turbopackFileSystemCacheForDev
:
!
isStableBuild
()
,
turbopackFileSystemCacheForDev
:
true
,
turbopackFileSystemCacheForBuild
:
false
,
},
htmlLimitedBots
:
undefined
,
...
...
packages/next/src/server/config.ts
View file @
3feffe96
...
...
@@ -38,10 +38,6 @@ import { dset } from '../shared/lib/dset'
import
{
normalizeZodErrors
}
from
'../shared/lib/zod'
import
{
HTML_LIMITED_BOT_UA_RE_STRING
}
from
'../shared/lib/router/utils/is-bot'
import
{
findDir
}
from
'../lib/find-pages-dir'
import
{
CanaryOnlyConfigError
,
isStableBuild
,
}
from
'../shared/lib/errors/canary-only-config-error'
import
{
interopDefault
}
from
'../lib/interop-default'
import
{
djb2Hash
}
from
'../shared/lib/hash'
import
type
{
NextAdapter
}
from
'../build/adapter/build-complete'
...
...
@@ -398,15 +394,6 @@ function assignDefaultsAndValidate(
)
}
if
(
isStableBuild
())
{
// Prevents usage of certain experimental features outside of canary
if
(
result
.
experimental
.
turbopackFileSystemCacheForBuild
)
{
throw
new
CanaryOnlyConfigError
({
feature
:
'experimental.turbopackFileSystemCacheForBuild'
,
})
}
}
if
(
result
.
experimental
.
ppr
)
{
throw
new
HardDeprecatedConfigError
(
`\`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.`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment