File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
packages/next/src/server/dev Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
import type { VersionInfo } from './parse-version-info'
2
+ import type { DebugInfo } from '../../client/components/react-dev-overlay/types'
2
3
3
4
export type DevToolsServerState = {
4
5
devIndicator : { disabledUntil : number }
5
6
versionInfo : VersionInfo
6
- debugInfo : {
7
- devtoolsFrontendUrl : string
8
- }
7
+ debugInfo : DebugInfo
9
8
}
10
9
11
10
export const devToolsServerState : DevToolsServerState = {
@@ -15,6 +14,6 @@ export const devToolsServerState: DevToolsServerState = {
15
14
staleness : 'unknown' ,
16
15
} ,
17
16
debugInfo : {
18
- devtoolsFrontendUrl : '' ,
17
+ devtoolsFrontendUrl : undefined ,
19
18
} ,
20
19
}
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export class WebpackHotMiddleware {
217
217
] ,
218
218
devTools : {
219
219
versionInfo : this . versionInfo ,
220
- debug : {
220
+ debugInfo : {
221
221
devtoolsFrontendUrl : this . devtoolsFrontendUrl ,
222
222
} ,
223
223
devIndicator : devToolsServerState . devIndicator ,
Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ export async function createHotReloaderTurbopack(
854
854
devTools : {
855
855
devIndicator : devToolsServerState . devIndicator ,
856
856
versionInfo,
857
- debug : {
857
+ debugInfo : {
858
858
devtoolsFrontendUrl,
859
859
} ,
860
860
} ,
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ export interface SyncAction {
57
57
warnings : ReadonlyArray < CompilationError >
58
58
updatedModules ?: ReadonlyArray < string >
59
59
devTools : {
60
- debug ?: DebugInfo
61
- devIndicator : DevToolsServerState [ 'devIndicator' ]
60
+ debugInfo : DebugInfo
62
61
versionInfo : VersionInfo
62
+ devIndicator : DevToolsServerState [ 'devIndicator' ]
63
63
}
64
64
}
65
65
interface BuiltAction {
You can’t perform that action at this time.
0 commit comments