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 5f93039 commit c59c356Copy full SHA for c59c356
packages/open-next/src/plugins/edge.ts
@@ -39,7 +39,9 @@ export function openNextEdgePlugins({
39
isInCloudflare,
40
}: IPluginSettings): Plugin {
41
const entryFiles =
42
- middlewareInfo?.files.map((file: string) => path.join(nextDir, file)) ?? [];
+ middlewareInfo?.files.map((file: string) =>
43
+ getCrossPlatformPathRegex(path.join(nextDir, file)),
44
+ ) ?? [];
45
const routes = middlewareInfo
46
? [
47
{
0 commit comments