@opennextjs/cloudflare 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +4 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -7402,7 +7402,10 @@ import { resolve as resolve2 } from "node:path";
|
|
|
7402
7402
|
var nextAppDir = resolve2(".");
|
|
7403
7403
|
console.log(`Building the Next.js app in the current folder (${nextAppDir})`);
|
|
7404
7404
|
if (!["js", "cjs", "mjs", "ts"].some((ext2) => existsSync6(`./next.config.${ext2}`))) {
|
|
7405
|
-
|
|
7405
|
+
console.error(
|
|
7406
|
+
"Error: next.config file not found. Please make sure you run the command inside a Next.js app"
|
|
7407
|
+
);
|
|
7408
|
+
process.exit(1);
|
|
7406
7409
|
}
|
|
7407
7410
|
var { skipBuild, outputDir } = getArgs();
|
|
7408
7411
|
await build3(nextAppDir, {
|