Skip to content

Commit

Permalink
[FIX] Allow usage of after/before task assignment of generateBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
flovogt committed Sep 4, 2023
1 parent 1e0503a commit 4ecef82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/build/definitions/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit 4ecef82

Please sign in to comment.