From a87b4635d880c7438860bfc2901515680f85e502 Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Wed, 18 Mar 2026 23:31:07 +0100 Subject: [PATCH] fix: some build issues --- _config.ts | 3 +-- src/index.vto | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/_config.ts b/_config.ts index 72ae2f23..ffcf62bd 100644 --- a/_config.ts +++ b/_config.ts @@ -355,8 +355,7 @@ site.addEventListener("afterBuild", async () => { const match = SCRIPT_SRC_RE.exec(content); if (!match) continue; - const srcDir = path.dirname(f.path).replace(/^dist\//, "src/"); - const jsPath = path.join(srcDir, match[1]); + const jsPath = path.join("src", match[1]); try { const newContent = htmlWithInlineJs({ content, jsPath, match: match[0] }); diff --git a/src/index.vto b/src/index.vto index 6f30c296..44897e68 100644 --- a/src/index.vto +++ b/src/index.vto @@ -8,7 +8,6 @@ styles: - vendor/@phosphor-icons/fill/style.css scripts: - - index.js - common/pages/version-upgrade.js # LINKS -- 2.51.2