File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
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
@@ -304,6 +306,8 @@ export function getDefineEnv({
304
306
// no-op that just restarts the development server.
305
307
'process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE' :
306
308
! isTurbopack || ( config . experimental . turbopackPersistentCaching ?? false ) ,
309
+ 'process.env.__NEXT_TURBOPACK_PERSISTENT_CACHE' :
310
+ config . experimental . turbopackPersistentCaching ?? false ,
307
311
}
308
312
309
313
const userDefines = config . compiler ?. define ?? { }
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 @@ -699,6 +699,11 @@ export interface ExperimentalConfig {
699
699
* Enable segment viewer for the app directory in dev tool.
700
700
*/
701
701
devtoolSegmentExplorer ?: boolean
702
+
703
+ /**
704
+ * Enable new panel UI for the dev tool.
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