Skip to content

Commit 11adc9d

Browse files
authored
fix(next): use correct config key for disabling turbo server fast refresh (#16215)
The previous PR set `enableServerFastRefresh: false` which was not the correct config key - it should be `turbopackServerFastRefresh: false`.
1 parent 79c8d7e commit 11adc9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/next/src/withPayload/withPayload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const withPayload = (nextConfig = {}, options = {}) => {
7272
experimental: {
7373
...(nextConfig.experimental || {}),
7474
// Server fast refresh breaks HMR
75-
...(hasServerFastRefreshConfigOption ? { enableServerFastRefresh: false } : {}),
75+
...(hasServerFastRefreshConfigOption ? { turbopackServerFastRefresh: false } : {}),
7676
},
7777
sassOptions: {
7878
...(nextConfig.sassOptions || {}),

0 commit comments

Comments
 (0)