From e795b534aa269efe781b2349bd77281f1f008cda Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Fri, 31 Mar 2023 17:44:20 +0100 Subject: [PATCH] fix(metro-config): fix and realign the situation for metro config for 0.72 (#36746) --- package.json | 2 +- packages/metro-config/index.js | 2 +- packages/metro-config/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0b3a9eb3aa4..11c35237cec 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@definitelytyped/dtslint": "^0.0.127", "@jest/create-cache-key-function": "^29.2.1", "@reactions/component": "^2.0.2", - "@react-native/metro-config": "^0.72.0", + "@react-native/metro-config": "^0.72.1", "@types/react": "^18.0.18", "@typescript-eslint/parser": "^5.30.5", "async": "^3.2.2", diff --git a/packages/metro-config/index.js b/packages/metro-config/index.js index 30a9e0c1d7c..ec7d935e041 100644 --- a/packages/metro-config/index.js +++ b/packages/metro-config/index.js @@ -83,4 +83,4 @@ function getDefaultConfig( ); } -module.exports = {getDefaultConfig}; +module.exports = {getDefaultConfig, mergeConfig}; diff --git a/packages/metro-config/package.json b/packages/metro-config/package.json index d97d633c1b1..58f95000b4f 100644 --- a/packages/metro-config/package.json +++ b/packages/metro-config/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/metro-config", - "version": "0.72.0", + "version": "0.72.1", "description": "Metro configuration for React Native.", "repository": { "type": "git",