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 4c70c36 commit dbffa91Copy full SHA for dbffa91
packages/cloudflare/src/cli/build/patches/plugins/instrumentation.ts
@@ -84,7 +84,7 @@ function getBuiltInstrumentationPath(buildOpts: BuildOptions): string | null {
84
getPackagePath(buildOpts),
85
`.next/server/${INSTRUMENTATION_HOOK_FILENAME}.js`
86
);
87
- return existsSync(maybeBuiltInstrumentationPath) ? maybeBuiltInstrumentationPath : null;
+ return existsSync(maybeBuiltInstrumentationPath) ? maybeBuiltInstrumentationPath.replace(/\\/g, "/") : null;
88
}
89
90
/**
0 commit comments