Unverified Commit 1a075b19 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

[devtool] enable segment explorer when new panel present by default (#81152)

Ensure the segment explorer is enabled when enabling the new panel UI is enabled
parent c1000be0
......@@ -1356,7 +1356,6 @@ export const defaultConfig = {
static: process.env.NEXT_STATIC_CACHE_HANDLER_PATH,
},
cssChunking: true,
devtoolNewPanelUI: process.env.__NEXT_DEVTOOL_NEW_PANEL_UI === 'true',
multiZoneDraftMode: false,
appNavFailHandling: false,
prerenderEarlyExit: true,
......@@ -1456,7 +1455,8 @@ export const defaultConfig = {
useCache: undefined,
slowModuleDetection: undefined,
globalNotFound: false,
devtoolSegmentExplorer: false,
devtoolNewPanelUI: process.env.__NEXT_DEVTOOL_NEW_PANEL_UI === 'true',
devtoolSegmentExplorer: process.env.__NEXT_DEVTOOL_NEW_PANEL_UI === 'true',
},
htmlLimitedBots: undefined,
bundlePagesRouterDependencies: false,
......
......@@ -493,6 +493,10 @@ function assignDefaults(
}
}
if (result.experimental.devtoolNewPanelUI) {
result.experimental.devtoolSegmentExplorer = true
}
warnCustomizedOption(
result,
'experimental.esmExternals',
......
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