Skip to content

Commit cafa77f

Browse files
sommeeeervicb
andauthored
Update packages/cloudflare/src/cli/build/patches/plugins/route-module.ts
Co-authored-by: Victor Berchet <[email protected]>
1 parent ebc7af2 commit cafa77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/build/patches/plugins/route-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { normalizePath } from "../../utils/index.js";
1818
export function patchRouteModules(updater: ContentUpdater, buildOpts: BuildOptions): Plugin {
1919
return updater.updateContent("route-module", [
2020
{
21-
filter: getCrossPlatformPathRegex(String.raw`/next/dist/compiled/next-server/.*\.runtime\.prod\.js$`, {
21+
filter: getCrossPlatformPathRegex(String.raw`/next/dist/compiled/next-server/.*?\.runtime\.prod\.js$`, {
2222
escape: false,
2323
}),
2424
versions: ">=15.4.0",

0 commit comments

Comments
 (0)