From 7fde13f26ad3f7008e8fe6755cb997b54f7a2f3b Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 14 May 2026 18:49:35 +0100 Subject: [PATCH] Use src + basename in header to avoid issues on Windows --- build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.mjs b/build.mjs index ef94ffd6e..01a1c4d51 100644 --- a/build.mjs +++ b/build.mjs @@ -150,7 +150,7 @@ const entryPointsPlugin = { const template = await readFile(join(SRC_DIR, templatePath), "utf-8"); const makeHeader = (sourceFile) => - `// Automatically generated from '${templatePath}' for '${sourceFile}'.\n\n`; + `// Automatically generated from '${templatePath}' for 'src/${basename(sourceFile)}'.\n\n`; // Write entry point stubs for each action. for (const action of actions) {