We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00225e0 commit 07aa497Copy full SHA for 07aa497
packages/react-router-dev/vite/plugin.ts
@@ -36,7 +36,6 @@ import pick from "lodash/pick";
36
import jsesc from "jsesc";
37
import colors from "picocolors";
38
import kebabCase from "lodash/kebabCase";
39
-import pMap from "p-map";
40
41
import * as Typegen from "../typegen";
42
import type { RouteManifestEntry, RouteManifest } from "../config/routes";
@@ -2815,6 +2814,8 @@ async function handlePrerender(
2815
2814
concurrency = prerender.unstable_concurrency ?? 1;
2816
}
2817
+ const pMap = await import('p-map')
2818
+
2819
await pMap(build.prerender, prerenderSinglePath, { concurrency });
2820
2821
0 commit comments