File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,7 @@ export function getDefineEnv({
107
107
const isDynamicIOEnabled = ! ! config . experimental . dynamicIO
108
108
const isUseCacheEnabled = ! ! config . experimental . useCache
109
109
110
- const isDevToolPanelUIEnabled =
111
- ! ! process . env . __NEXT_DEVTOOL_NEW_PANEL_UI ||
112
- ! ! config . experimental . devtoolNewPanelUI
110
+ const isDevToolPanelUIEnabled = Boolean ( config . experimental . devtoolNewPanelUI )
113
111
114
112
const defineEnv : DefineEnv = {
115
113
// internal field to identify the plugin config
Original file line number Diff line number Diff line change @@ -1355,6 +1355,7 @@ export const defaultConfig = {
1355
1355
static : process . env . NEXT_STATIC_CACHE_HANDLER_PATH ,
1356
1356
} ,
1357
1357
cssChunking : true ,
1358
+ devtoolNewPanelUI : process . env . __NEXT_DEVTOOL_NEW_PANEL_UI === 'true' ,
1358
1359
multiZoneDraftMode : false ,
1359
1360
appNavFailHandling : false ,
1360
1361
prerenderEarlyExit : true ,
You can’t perform that action at this time.
0 commit comments