Fix server publish check for bin entrypoint (#1885)

This commit is contained in:
Julius Marminge committed 2026-04-13 14:40:57 -07:00
1 parent f3271398dc
commit 4f080d266d
1 file changed
+1 -1
+1 -1
View File
@@ -177,7 +177,7 @@ const publishCmd = Command.make(
const backupPath = `${packageJsonPath}.bak`;
// Assert build assets exist
for (const relPath of ["dist/index.mjs", "dist/client/index.html"]) {
for (const relPath of ["dist/bin.mjs", "dist/client/index.html"]) {
const abs = path.join(serverDir, relPath);
if (!(yield* fs.exists(abs))) {
return yield* new CliError({