mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-29 07:48:28 +00:00
correct source map again
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user