Skip to content

Commit

Permalink
fix: make excludedPaths posix, always
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Nov 9, 2023
1 parent 2ed3ad8 commit e444bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/setUpEdgeFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const setUpEdgeFunction = async ({ angularJson, constants, failBuild }) => {
)

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

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

0 comments on commit e444bd0

Please sign in to comment.