diff --git a/packages/remix-dev/vite/static/refresh-utils.cjs b/packages/remix-dev/vite/static/refresh-utils.cjs index aea8fcb335f..8a1c0d44732 100644 --- a/packages/remix-dev/vite/static/refresh-utils.cjs +++ b/packages/remix-dev/vite/static/refresh-utils.cjs @@ -16,7 +16,7 @@ const enqueueUpdate = debounce(async () => { manifest = JSON.parse(JSON.stringify(__remixManifest)); routeUpdates.forEach(async (route) => { - manifest[route.id] = route; + manifest.routes[route.id] = route; let imported = await __hmr_import(route.url + "?t=" + Date.now()); let routeModule = {