Skip to content

Commit e444bd0

Browse files
committed
fix: make excludedPaths posix, always
1 parent 2ed3ad8 commit e444bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/setUpEdgeFunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const setUpEdgeFunction = async ({ angularJson, constants, failBuild }) => {
5454
)
5555

5656
const { routes: prerenderedRoutes } = await readJson(join(outputDir, 'prerendered-routes.json'))
57-
const excludedPaths = [...staticFiles, ...prerenderedRoutes]
57+
const excludedPaths = [...staticFiles, ...prerenderedRoutes].map(toPosix)
5858

5959
// buy putting this into a separate module that's imported first,
6060
// we ensure this is initialised before any other module

0 commit comments

Comments
 (0)