Skip to content

[0.81] Mark @react-native/metro-config as optional peer to fix warningΒ #1095

@kitten

Description

@kitten

Target Branch

0.81

Link to commit or PR to be picked

facebook/react-native#53314

Description

  • Fixes and reverts of accidental breaking changes.

Technically part of the above. It introduces a new peer dependency warning for a package a user may not need (@react-native/metro-config), at least for the Expo case or the case for any customised Metro config. Could lead to dependency conflicts if resolved or auto-installed, since some React Native setups have invalid dependency chains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions