We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9ccd0 commit 3ac2fbaCopy full SHA for 3ac2fba
packages/open-next/src/index.ts
@@ -9,9 +9,9 @@ import { printHeader } from "./build/utils.js";
9
10
const command = process.argv[2];
11
const stage = process.argv[3];
12
-const validCommand =
13
- command === "build" ||
14
- command === "preview" ||
+const validCommand =
+ command === "build" ||
+ command === "preview" ||
15
(command === "generate" && stage === "local");
16
17
if (!validCommand) {
0 commit comments