Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public class NextFramework extends GenericFramework {

private static final Logger LOG = Logger.getLogger(NextFramework.class);
private static final String OUTPUT = "export";

public NextFramework() {
super("out", "dev", 3000);
Expand All @@ -31,8 +32,8 @@ public QuinoaConfig override(QuinoaConfig delegate, Optional<JsonObject> package
LOG.warn(
"Make sure you define \"build\": \"next build \", in the package.json to make Next work with Quinoa.");
}
String output = packageJson.get().getString("output");
if (!"export".equals(output)) {

if (!packageJson.get().containsKey("output") || !OUTPUT.equals(packageJson.get().getString("output"))) {
LOG.warn(
"Make sure you define \"output\": \"export \", in the package.json to make Next work with Quinoa.");
}
Expand Down