Skip to content

Commit 98dbe34

Browse files
authored
1 parent a4a6b87 commit 98dbe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/modules/webpack/plaintext-patch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function patchModuleSource(mod: WebpackModule, id: string): WebpackModule
4646
return (0, eval)(
4747
`${
4848
patchedSource.startsWith("function(") ? `0,${patchedSource}` : patchedSource
49-
}\n// Patched by: ${patchedBy.filter(Boolean).join(", ")}\n//# sourceURL=/assets/patched/PatchedWebpack-${id}`,
49+
}\n// Patched by: ${patchedBy.filter(Boolean).join(", ")}\n//# sourceURL=${window.location.origin}/assets/patched/PatchedWebpack-${id}`,
5050
);
5151
} catch (err) {
5252
logger.error(`PatchedWebpack-${id}`, err);

0 commit comments

Comments
 (0)