You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
State which hook comes first. Then for each hook, state what happens after that hook. As in, the docs for resolveId could end with something like:
Next lifecycle steps: This hook is called for all remaining imports in the currently processing module. Then load is called for each import in the same order.
(I don't know if the above is accurate, it's just an example)
Then, once that data is there, the community can help with creating a diagram.
The text was updated successfully, but these errors were encountered:
Documentation Is:
Please Explain in Detail...
Forked from #3402.
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
State which hook comes first. Then for each hook, state what happens after that hook. As in, the docs for
resolveId
could end with something like:Next lifecycle steps: This hook is called for all remaining imports in the currently processing module. Then
load
is called for each import in the same order.(I don't know if the above is accurate, it's just an example)
Then, once that data is there, the community can help with creating a diagram.
The text was updated successfully, but these errors were encountered: