Commit 75f7e01
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: react/metro#1638
Reviewed By: vzaidman
Differential Revision: D90469997
Pulled By: robhogan
fbshipit-source-id: 44d06e7ec873988bcd0dff61ec13318d20f7223b1 parent e583e02 commit 75f7e01
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
| 1086 | + | |
| 1087 | + | |
1086 | 1088 | | |
1087 | 1089 | | |
1088 | 1090 | | |
| |||
0 commit comments