SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

feat: add support for including the babel partial config to cache key

Summary:
Update the Metro Babel transformer to generate cache keys that include the contents of user Babel configuration files, ensuring cache invalidation when Babel configs change. This is similar to what Jest does and it seems to work really well for them.

Metro changelog: [Fix] Include user-defined babel config in transformer cache key to ensure correctness

Changelog: [Internal]

bypass-github-export-checks

X-link: https://github.com/facebook/metro/pull/1638

Reviewed By: vzaidman

Differential Revision: D90469997

Pulled By: robhogan

fbshipit-source-id: 44d06e7ec873988bcd0dff61ec13318d20f7223b
E
evanbacon committed
75f7e01903fbdf774bb683653d20350af66d61ba
Parent: e583e02
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 3/7/2026, 8:32:32 PM