Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Add @react-native/metro-config package #36502

Closed
wants to merge 1 commit into from
Closed

RFC: Add @react-native/metro-config package #36502

wants to merge 1 commit into from

Commits on Mar 20, 2023

  1. Add @react-native/metro-config package (#36502)

    Summary:
    Changelog:
    [General][Added] - Add `react-native/metro-config` package
    
    Pull Request resolved: #36502
    
    ## Context
    
    ### React Native Metro config → React Native repo (#36502)
    
    We (the React Native team) are aiming to relocate the default Metro config for React Native out of `react-native-community/cli-plugin-metro` and **into the React Native repo + app template** as a new `react-native/metro-config` package.
    
    This is the first (and minimum viable) phase we can ship to separate the release process of Metro from RN CLI in order to reduce coupling and iterate faster for our users.
    
    **See full motivation, design, and test plan here: #36502
    
    ## Changes
    
    - This PR adds the new `react-native/metro-config` package, reproduces all static values previously defined in RN CLI. The values which remain in RN CLI are dynamic values derived from CLI options passed by the user.
    
    {F906910591}
    
    Reviewed By: cortinico
    
    Differential Revision: D44099692
    
    fbshipit-source-id: 399bfb21b49200e7d53c9d358c64607f4091847d
    huntie authored and facebook-github-bot committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    ab3ea8b View commit details
    Browse the repository at this point in the history