Fix server publish check for bin entrypoint (#1885)
This commit is contained in:
1 parent
f3271398dc
commit
4f080d266d
1 file changed
+1
-1
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user