diff --git a/src/v2/Apps/Debug/debugRoutes.tsx b/src/v2/Apps/Debug/debugRoutes.tsx new file mode 100644 index 00000000000..9a312f3c330 --- /dev/null +++ b/src/v2/Apps/Debug/debugRoutes.tsx @@ -0,0 +1,13 @@ +import React from "react" + +/** + * This route is just for testing baseline page shell stuff -- Lighthouse, + * Calibre, assets loaded on page, and other debugging things that might + * impact global performance. + */ +export const debugRoutes = [ + { + path: "/debug-routes", + Component: () =>
Baseline test
, + }, +] diff --git a/src/v2/Apps/getAppRoutes.tsx b/src/v2/Apps/getAppRoutes.tsx index 814776bdc58..b653fc46673 100644 --- a/src/v2/Apps/getAppRoutes.tsx +++ b/src/v2/Apps/getAppRoutes.tsx @@ -10,6 +10,7 @@ import { routes as orderRoutes } from "v2/Apps/Order/routes" import { routes as purchasesRoutes } from "v2/Apps/Purchase/routes" import { routes as searchRoutes } from "v2/Apps/Search/routes" import { routes as viewingRoomRoutes } from "./ViewingRoom/routes" +import { debugRoutes } from "./Debug/debugRoutes" export function getAppRoutes(): RouteConfig[] { return buildAppRoutes([ @@ -43,5 +44,10 @@ export function getAppRoutes(): RouteConfig[] { { routes: viewingRoomRoutes, }, + + // For debugging baseline app shell stuff + { + routes: debugRoutes, + }, ]) }