Skip to content

Conversation

@jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Oct 20, 2023

Description

This PR applies the changes we need to an app's metro config on top of a more recent snap of the default metro config for an RN app.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Why

To fix new apps not loading because of a badly configured bundle.

Resolves: #12268

What

Coped the current RN template metro.config.js and applied our changes.

Screenshots

N/A

Testing

Verified a new app loads correctly

Changelog

Should this change be included in the release notes: yes

Update app template's metro config with latest upstream changes

Microsoft Reviewers: Open in CodeFlow

This PR applies the changes we need to an app's metro config on top of a
more recent snap of the default metro config for an RN app.

Resolves: microsoft#12268
@jonthysell jonthysell requested review from a team as code owners October 20, 2023 23:28
@jonthysell jonthysell added Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release Backport: Requested labels Oct 20, 2023
@jonthysell jonthysell enabled auto-merge (squash) October 20, 2023 23:31
jonthysell added a commit to jonthysell/react-native-windows that referenced this pull request Oct 20, 2023
This PR backports microsoft#12279 to 0.73.

This PR applies the changes we need to an app's metro config on top of a
more recent snap of the default metro config for an RN app.

Resolves: microsoft#12268
@jonthysell jonthysell disabled auto-merge October 20, 2023 23:35
@jonthysell jonthysell enabled auto-merge (squash) October 20, 2023 23:35
@jonthysell jonthysell merged commit 68094c0 into microsoft:main Oct 21, 2023
jonthysell added a commit that referenced this pull request Oct 23, 2023
#12280)

This PR backports #12279 to 0.73.

## Description

This PR applies the changes we need to an app's metro config on top of a more recent snap of the default metro config for an RN app.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- 
### Why
To fix new apps not loading because of a badly configured bundle.

Resolves: #12268

### What
Coped the current RN template metro.config.js and applied our changes.

## Screenshots
N/A

## Testing
Verified a new app loads correctly

## Changelog
Should this change be included in the release notes: yes

Update app template's metro config with latest upstream changes
@jonthysell jonthysell deleted the metroconfig branch May 19, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport: Requested Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a new app with main renders a blank app

2 participants