File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2370,6 +2370,9 @@ export async function serverBuild({
23702370 src : path . posix . join (
23712371 '/' ,
23722372 entryDirectory ,
2373+ // if entryDirectory is populated we need to
2374+ // add optional handling for trailing slash so
2375+ // that the entryDirectory (basePath) itself matches
23732376 `${ entryDirectory !== '.' ? '?' : '' } .*`
23742377 ) ,
23752378 dest : path . posix . join (
@@ -2419,6 +2422,9 @@ export async function serverBuild({
24192422 src : path . posix . join (
24202423 '/' ,
24212424 entryDirectory ,
2425+ // if entryDirectory is populated we need to
2426+ // add optional handling for trailing slash so
2427+ // that the entryDirectory (basePath) itself matches
24222428 `${ entryDirectory !== '.' ? '?' : '' } .*`
24232429 ) ,
24242430 dest : path . posix . join (
You can’t perform that action at this time.
0 commit comments