PHANTOM
🇮🇳 IN
Skip to content

docs: document PreRenderedChunk properties including isDynamicEntry and isImplicitEntry#6256

Merged
lukastaegert merged 4 commits intorollup:masterfrom
njg7194:docs/prerenderedchunk-properties
Feb 6, 2026
Merged

docs: document PreRenderedChunk properties including isDynamicEntry and isImplicitEntry#6256
lukastaegert merged 4 commits intorollup:masterfrom
njg7194:docs/prerenderedchunk-properties

Conversation

@njg7194
Copy link
Contributor

@njg7194 njg7194 commented Feb 1, 2026

Summary

This PR adds documentation for all properties in the PreRenderedChunk interface used by output.chunkFileNames and output.entryFileNames.

Changes

Added explanations for each property in PreRenderedChunk:

  • exports: The list of exported bindings from the chunk
  • facadeModuleId: The module id of the entry point this chunk is a facade for
  • isDynamicEntry: Indicates chunks reachable only via dynamic import() expressions
  • isEntry: Indicates if the chunk is an entry point
  • isImplicitEntry: Indicates chunks emitted with implicitlyLoadedAfterOneOf
  • moduleIds: The list of module ids included in the chunk
  • name: The name used for the [name] placeholder
  • type: Always "chunk"

Background

These properties were added in #3606 but isDynamicEntry and isImplicitEntry were not documented. This PR addresses that gap.

Closes #6198

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
@vercel
Copy link

vercel bot commented Feb 1, 2026

@njg7194 is attempting to deploy a commit to the rollup-js Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, that is definitely useful. I added to suggestions for clarification, please have a look.

@lukastaegert
Copy link
Member

If you see other areas where it is useful to extend or clarify documentation as well, please go ahead, this always welcome!

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rollup Ready Ready Preview, Comment Feb 6, 2026 8:49am

Request Review

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.76%. Comparing base (9662a49) to head (089b76f).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lukastaegert lukastaegert added this pull request to the merge queue Feb 6, 2026
Merged via the queue into rollup:master with commit 79b161a Feb 6, 2026
47 checks passed
@github-actions
Copy link

This PR has been released as part of rollup@4.58.0. You can test it via npm install rollup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

isImplicitEntry and isDynamicEntry are not documented

2 participants