correct source map again

This commit is contained in:
MathMan05
2025-11-24 10:35:35 -06:00
parent f5cc6a4959
commit cb222e0127
+1 -1
View File
@@ -119,7 +119,7 @@ async function moveFiles(curPath: string, newPath: string, first = true) {
await Promise.all([
fs.writeFile(
newfileDir + ".js",
mod.code + "\n" + `//# sourceMappingURL= ${plainname}.js.map`,
mod.code + "\n" + `//# sourceMappingURL=${plainname}.js.map`,
),
mod.map ? fs.writeFile(newfileDir + ".js.map", mod.map as string) : null,
]);