Skip to content

Conversation

@robhogan
Copy link
Collaborator

@robhogan robhogan commented Feb 20, 2023

Summary:

Metro 0.73.8 addresses two bugs with Metro release bundle source map generation when using the default Terser minifier. This amounts to a regression for users who used the previous uglify-es default.

I've proposed including this in a potential RN 0.71.4 release, a prerequisite of that is that we have a 10.x version of RN CLI that includes it. (It'd be fine to hold off on merging this / a CLI release until RN 0.71.4 is definitely happening)

Test Plan:

Versions bumped with Yarn so local changes are all generated. See facebook/metro#928 and facebook/metro#929 for details of testing the Metro changes.

@github-actions github-actions bot added the infra Internal work not facing public APIs label Feb 20, 2023
@robhogan robhogan changed the title [10.x] Bump Metro to 0.73.8 (Terser source map fixes) [10.x] chore(deps): Metro to 0.73.8 (Terser source map fixes) Feb 20, 2023
@kelset
Copy link
Member

kelset commented Feb 20, 2023

(It'd be fine to hold off on merging this / a CLI release until RN 0.71.4 is definitely happening)

0.71.4 is def happening - but it will be blocked until we get a new CLI 10.x with this commit in ;)

@thymikee thymikee merged commit 5932cd2 into react-native-community:10.x Feb 20, 2023
@robhogan robhogan deleted the chore/metro-0.73.8 branch February 20, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Internal work not facing public APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants