There was an error while loading. Please reload this page.
1 parent 91c2f8f commit 55716f2Copy full SHA for 55716f2
1 file changed
packages/base/src/commands/sourcemaps/debugId.ts
@@ -2,7 +2,8 @@ import fs from 'fs'
2
3
import type {Sourcemap} from './interfaces'
4
5
-const DD_DEBUG_ID_REGEX = /["']ddDebugId["']\s*:\s*["']([^"']+)["']/
+const DD_DEBUG_ID_REGEX =
6
+ /["']ddDebugId["']\s*:\s*["']([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})["']/
7
8
export const extractDebugId = (filePath: string): string | undefined => {
9
try {
0 commit comments