Skip to content

fix: sort componentsMap and pagesMap keys to ensure stable build output#2495

Open
Blackgan3 wants to merge 1 commit into
masterfrom
feat-sort-component-map
Open

fix: sort componentsMap and pagesMap keys to ensure stable build output#2495
Blackgan3 wants to merge 1 commit into
masterfrom
feat-sort-component-map

Conversation

@Blackgan3
Copy link
Copy Markdown
Collaborator

Feature

  • 输出 RN 排序 componentsMap and pagesMap keys 确保构建产物内容一致性

Async file resolution causes non-deterministic insertion order in
localPagesMap/localComponentsMap, leading to inconsistent build output
between runs. Sort keys before iterating to guarantee stable output.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant