File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/react-router-dev/vite Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 452452- zeromask1337
453453- zheng-chuang
454454- zxTomw
455+ - HeyyyNeo
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ import pick from "lodash/pick";
3636import jsesc from "jsesc" ;
3737import colors from "picocolors" ;
3838import kebabCase from "lodash/kebabCase" ;
39- import pMap from "p-map" ;
4039
4140import * as Typegen from "../typegen" ;
4241import type { RouteManifestEntry , RouteManifest } from "../config/routes" ;
@@ -2815,6 +2814,7 @@ async function handlePrerender(
28152814 concurrency = prerender . unstable_concurrency ?? 1 ;
28162815 }
28172816
2817+ const pMap = ( await import ( "p-map" ) ) . default ;
28182818 await pMap ( build . prerender , prerenderSinglePath , { concurrency } ) ;
28192819}
28202820
You can’t perform that action at this time.
0 commit comments