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 b6bc25d commit 76554ccCopy full SHA for 76554cc
packages/open-next/src/utils/regex.ts
@@ -6,7 +6,7 @@
6
* @example
7
* ```ts
8
* getCrossPlatformPathRegex("./middleware.mjs")
9
- * getCrossPlatformPathRegex("\\./middleware\\.(mjs|cjs)", { escape: false })
+ * getCrossPlatformPathRegex(String.raw`\./middleware\.(mjs|cjs)`, { escape: false })
10
* ```
11
*/
12
export function getCrossPlatformPathRegex(
0 commit comments