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 53893a7 commit 3d9d70eCopy full SHA for 3d9d70e
tools/sourcemap-tools/src/DebugIdGenerator.ts
@@ -4,7 +4,7 @@ export const SOURCEMAP_DEBUG_ID_KEY = 'debugId';
4
5
export class DebugIdGenerator {
6
public generateSourceSnippet(uuid: string) {
7
- return `;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e.${SOURCE_DEBUG_ID_VARIABLE}=e.${SOURCE_DEBUG_ID_VARIABLE}||{},e.${SOURCE_DEBUG_ID_VARIABLE}[n]="${uuid}")}catch(e){}}()`;
+ return `;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e.${SOURCE_DEBUG_ID_VARIABLE}=e.${SOURCE_DEBUG_ID_VARIABLE}||{},e.${SOURCE_DEBUG_ID_VARIABLE}[n]="${uuid}")}catch(e){}}();`;
8
}
9
10
public generateSourceComment(uuid: string) {
0 commit comments