Use src + basename in header to avoid issues on Windows

This commit is contained in:
Michael B. Gale
2026-05-14 18:49:35 +01:00
parent dfa61e7305
commit 7fde13f26a
+1 -1
View File
@@ -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) {