Back to Rolldown

Experimental Attach Debug Info

packages/rolldown/src/options/docs/experimental-attach-debug-info.md

1.1.11.6 KB
Original Source
In-depth

Each chunk will include a comment explaining the reason why it was created:

ReasonFormatDescription
User-defined EntryUser-defined Entry: [Entry-Module-Id: <path>] [Name: Some("<name>")]Explicit entry point from build config
Dynamic EntryDynamic Entry: [Entry-Module-Id: <path>] [Name: None]Chunk created from import() expression
Common ChunkCommon Chunk: [Shared-By: <entry1>, <entry2>, ...]Shared modules extracted for multiple entries
Manual Code SplittingManualCodeSplitting: [Group-Name: <name>]Chunk created by output.codeSplitting option
Preserve ModulesEnabling Preserve Module: [User-defined: <bool>] [Module-Id: <path>]Per-module chunk from output.preserveModules option

When rolldown optimized away empty facade chunks (entry chunks with no modules of their own), the target chunk will include Eliminated Facade Chunk: [Chunk-Name: <name>] [Entry-Module-Id: <path>].