diff --git a/lib/build/definitions/application.js b/lib/build/definitions/application.js index 5a21557fc..9a61795ca 100644 --- a/lib/build/definitions/application.js +++ b/lib/build/definitions/application.js @@ -100,6 +100,11 @@ export default function({project, taskUtil, getTask}) { }, Promise.resolve()); } }); + } else { + // No bundles defined. Just set task so that it can be referenced by custom tasks + tasks.set("generateBundle", { + taskFunction: async () => {} + }); } tasks.set("generateVersionInfo", {