Skip to content

fix(metro-service): cli-plugin-metro has been deprecated#2589

Merged
tido64 merged 2 commits intomainfrom
tido/metro-service/cli-plugin-metro
Aug 8, 2023
Merged

fix(metro-service): cli-plugin-metro has been deprecated#2589
tido64 merged 2 commits intomainfrom
tido/metro-service/cli-plugin-metro

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented Aug 7, 2023

Description

Sync to the latest changes and don't depend on it for bundling.

@react-native-community/cli-plugin-metro is being moved into the react-native repository. In the process, it was renamed and its API surface has been reduced to the bare minimum. buildBundleWithConfig, which we need to pass our custom config to the bundler, has also been axed.

Resolves #328.

Test plan

cd packages/test-app
yarn build --dependencies
yarn bundle:android
yarn android

@github-actions github-actions bot added the feature: metro This is related to Metro label Aug 7, 2023
Sync to the latest changes and don't depend on it for bundling.

`@react-native-community/cli-plugin-metro` is being moved into the
`react-native` repository. In the process, it was renamed and its API
surface has been reduced to the bare minimum. `buildBundleWithConfig`,
which we need to pass our custom config to the bundler, has also been
axed. For more details, see
facebook/react-native#38795.
@tido64 tido64 force-pushed the tido/metro-service/cli-plugin-metro branch from dbe12e7 to 32f73c5 Compare August 7, 2023 23:04
@tido64 tido64 marked this pull request as ready for review August 8, 2023 07:01
@tido64 tido64 requested review from JasonVMo and kelset as code owners August 8, 2023 07:01
@huntie
Copy link
Copy Markdown

huntie commented Aug 8, 2023

Huge thanks for moving fast with this! Endorsed ✅

@tido64 tido64 merged commit 513efaa into main Aug 8, 2023
@tido64 tido64 deleted the tido/metro-service/cli-plugin-metro branch August 8, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: metro This is related to Metro

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use @react-native-communty/cli-plugin-metro project to bundling, and remove custom code in CLI and related packages

3 participants