diff --git a/packages/dev-middleware/src/middleware/openDebuggerMiddleware.js b/packages/dev-middleware/src/middleware/openDebuggerMiddleware.js index 56786060ad7ddb..22105f07d5ba4a 100644 --- a/packages/dev-middleware/src/middleware/openDebuggerMiddleware.js +++ b/packages/dev-middleware/src/middleware/openDebuggerMiddleware.js @@ -160,6 +160,7 @@ export default function openDebuggerMiddleware({ launchType, status: 'error', error: e, + prefersFuseboxFrontend: useFuseboxEntryPoint ?? false, }); return; } diff --git a/packages/dev-middleware/src/types/EventReporter.js b/packages/dev-middleware/src/types/EventReporter.js index c6f2de877c5a58..f578f745cf3a6f 100644 --- a/packages/dev-middleware/src/types/EventReporter.js +++ b/packages/dev-middleware/src/types/EventReporter.js @@ -16,6 +16,7 @@ type SuccessResult = { type ErrorResult = { status: 'error', error: ErrorT, + prefersFuseboxFrontend?: ?boolean, }; type CodedErrorResult = {