File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,8 @@ export function getDefineEnv({
289
289
: { } ) ,
290
290
'process.env.__NEXT_DEVTOOL_SEGMENT_EXPLORER' :
291
291
config . experimental . devtoolSegmentExplorer ?? false ,
292
+ 'process.env.__NEXT_DEVTOOL_NEW_PANEL_UI' :
293
+ config . experimental . devtoolNewPanelUI ?? false ,
292
294
293
295
// The devtools need to know whether or not to show an option to clear the
294
296
// bundler cache. This option may be removed later once Turbopack's
Original file line number Diff line number Diff line change @@ -500,6 +500,7 @@ export const configSchema: zod.ZodType<NextConfig> = z.lazy(() =>
500
500
. optional ( ) ,
501
501
globalNotFound : z . boolean ( ) . optional ( ) ,
502
502
devtoolSegmentExplorer : z . boolean ( ) . optional ( ) ,
503
+ devtoolNewPanelUI : z . boolean ( ) . optional ( ) ,
503
504
} )
504
505
. optional ( ) ,
505
506
exportPathMap : z
Original file line number Diff line number Diff line change @@ -696,9 +696,14 @@ export interface ExperimentalConfig {
696
696
globalNotFound ?: boolean
697
697
698
698
/**
699
- * Enable segment viewer for the app directory in dev tool .
699
+ * Enable segment viewer for the app directory in Next.js DevTools .
700
700
*/
701
701
devtoolSegmentExplorer ?: boolean
702
+
703
+ /**
704
+ * Enable new panel UI for the Next.js DevTools.
705
+ */
706
+ devtoolNewPanelUI ?: boolean
702
707
}
703
708
704
709
export type ExportPathMap = {
You can’t perform that action at this time.
0 commit comments