strictExecutionOrder
- Type:
boolean - Optional
Preserve source module execution order across generated chunks.
When enabled, Rolldown wraps ESM modules so their bodies run in source order regardless of chunk placement. Interop wrappers for CommonJS and require-of-ESM modules are unchanged, and external modules are not affected. experimental.onDemandWrapping replaces wrap-all with a conservative plan derived from predicted chunk execution hazards.
WARNING
Enabling this option increases bundle size because wrapped modules need runtime init helpers.
Default
ts
false