Skip to content

Commit

Permalink
NextJS 14 next export has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam-sharma7 committed Dec 1, 2023
1 parent b9c3a8f commit f6a9c56
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ public QuinoaConfig override(QuinoaConfig delegate, Optional<JsonObject> package
if (delegate.packageManagerCommand().build().equals("run build") && packageJson.isPresent()) {
JsonObject scripts = packageJson.get().getJsonObject("scripts");
if (scripts != null) {
if (!scripts.getString("build").contains("next export")) {
String buildScript = scripts.getString("build");
if (buildScript == null || buildScript.isEmpty()) {
LOG.warn(
"Make sure you define \"build\": \"next build && next export\", in the package.json to make Next work with Quinoa.");
"Make sure you define \"build\": \"next build \", in the package.json to make Next work with Quinoa.");
}
}
}
Expand Down

0 comments on commit f6a9c56

Please sign in to comment.