-
-
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...
https://rollupjs.org/guide/en/#hooks - It's currently difficult to figure out the order in which hooks are called, and how it relates to the rest of Rollup's processing.
This leads to confusion like #2739 - it isn't clear from the docs that renderChunk comes after hashing.
Your Proposal for Changes
Reorder the items in https://rollupjs.org/guide/en/#hooks so they roughly represent execution order.
If actions performed by the hook change the order, document that too.
Include internal actions, like "hashes added to file", so it's clear which things happen before/after that.
Reactions are currently unavailable