From 102ec4dafc4bda7888f889fd1e046abc7b0fd7c4 Mon Sep 17 00:00:00 2001 From: Hizbu Azka Date: Mon, 16 Nov 2026 16:48:00 +0700 Subject: fix regex page for firefox import maps currently have to load before any ES module and there can only be a single import map per document update if compatibility soon be supported https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap#browser_compatibility --- _tools/cm-esbuild/scripts/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_tools') diff --git a/_tools/cm-esbuild/scripts/deploy.js b/_tools/cm-esbuild/scripts/deploy.js index 2dcae72..3b198fe 100644 --- a/_tools/cm-esbuild/scripts/deploy.js +++ b/_tools/cm-esbuild/scripts/deploy.js @@ -49,7 +49,7 @@ const preload = jsFiles ) .join("\n"); -const html = `${preload}\n\n`; +const html = `\n${preload}\n`; fs.mkdirSync(path.join(site, "_includes"), { recursive: true }); fs.writeFileSync(path.join(site, "_includes", "cm-importmap.html"), html); console.log("published, version", v); -- cgit