fix(browser): support relative source map URLs

This commit is contained in:
N0zoM1z0
2026-07-14 20:24:12 +09:00
committed by N0zoM1z0
parent be76f8090b
commit 5231e95c19
4 changed files with 58 additions and 11 deletions
+1 -1
View File
@@ -583,7 +583,7 @@ const emitEvents = (
length: 40,
isModule: true,
scriptLanguage: "JavaScript",
sourceMapURL: `http://127.0.0.1:${String(port)}/app.js.map?token=map-secret`,
sourceMapURL: "/app.js.map?token=map-secret",
});
if (
options.electronFileUrl !== undefined &&