-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Documentation Is:
- Missing
- Needed
- Confusing
- Not Sure?
Please Explain in Detail...
If both an input plugin and output plugin have a generateBundle hook, the output plugin's hook runs first.
Is there a reason for this?
Your Proposal for Changes
Run output plugins last (if possible?).
Or provide a method on PluginContext that allows a hook to postpone itself until other hooks for the same phase have finished, like this:
async generateBundle() {
await this.postpone()
// Do stuff after all non-postponed `generateBundle` hooks have finished.
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels