docs: document PreRenderedChunk properties including isDynamicEntry and isImplicitEntry#6256
Conversation
Add documentation for all properties in the PreRenderedChunk interface, specifically explaining: - isDynamicEntry: indicates chunks reachable only via dynamic import() - isImplicitEntry: indicates chunks emitted with implicitlyLoadedAfterOneOf These properties were added in rollup#3606 but were not documented. Closes rollup#6198
|
@njg7194 is attempting to deploy a commit to the rollup-js Team on Vercel. A member of the Team first needs to authorize it. |
lukastaegert
left a comment
There was a problem hiding this comment.
Thanks a lot, that is definitely useful. I added to suggestions for clarification, please have a look.
|
If you see other areas where it is useful to extend or clarify documentation as well, please go ahead, this always welcome! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6256 +/- ##
=======================================
Coverage 98.76% 98.76%
=======================================
Files 273 273
Lines 10714 10714
Branches 2855 2855
=======================================
Hits 10582 10582
Misses 89 89
Partials 43 43 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This PR has been released as part of rollup@4.58.0. You can test it via |
Summary
This PR adds documentation for all properties in the
PreRenderedChunkinterface used byoutput.chunkFileNamesandoutput.entryFileNames.Changes
Added explanations for each property in
PreRenderedChunk:exports: The list of exported bindings from the chunkfacadeModuleId: The module id of the entry point this chunk is a facade forisDynamicEntry: Indicates chunks reachable only via dynamicimport()expressionsisEntry: Indicates if the chunk is an entry pointisImplicitEntry: Indicates chunks emitted withimplicitlyLoadedAfterOneOfmoduleIds: The list of module ids included in the chunkname: The name used for the[name]placeholdertype: Always"chunk"Background
These properties were added in #3606 but
isDynamicEntryandisImplicitEntrywere not documented. This PR addresses that gap.Closes #6198