Skip to content

Commit 2028d57

Browse files
Fix server publish check for bin entrypoint (#1885)
1 parent 3405a64 commit 2028d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/scripts/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const publishCmd = Command.make(
177177
const backupPath = `${packageJsonPath}.bak`;
178178

179179
// Assert build assets exist
180-
for (const relPath of ["dist/index.mjs", "dist/client/index.html"]) {
180+
for (const relPath of ["dist/bin.mjs", "dist/client/index.html"]) {
181181
const abs = path.join(serverDir, relPath);
182182
if (!(yield* fs.exists(abs))) {
183183
return yield* new CliError({

0 commit comments

Comments
 (0)