From 86948be4bcab8ced228200f67f17c27173450ebc Mon Sep 17 00:00:00 2001 From: Jasmin Savard Date: Fri, 10 Jan 2025 18:29:36 -0500 Subject: [PATCH] fix --- .scripts/assets-build-tool/min.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/assets-build-tool/min.mjs b/.scripts/assets-build-tool/min.mjs index 65aef04dfd5..d5e467212b8 100644 --- a/.scripts/assets-build-tool/min.mjs +++ b/.scripts/assets-build-tool/min.mjs @@ -226,7 +226,7 @@ glob(config.source).then((files) => { dest, path.parse(target).name + ".map" ); - await fs.outputFile(mappedTarget, (output.map.replace(/(?:\\[rn])+/g, "\\n")) + "\n"); + await fs.outputFile(mappedTarget, (map.replace(/(?:\\[rn])+/g, "\\n")) + "\n"); console.log( `Mapped (${chalk.gray("from")}, ${chalk.cyan( "to"