Update INTERNAL_CALLSITES_REGEX (#43604)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43604

Changelog: [Internal]

Syncs the internal and OSS versions of `INTERNAL_CALLSITES_REGEX` in the default RN Metro config.

Reviewed By: robhogan

Differential Revision: D55237394

fbshipit-source-id: 8986a69f8beeafccbab3548d8a2137c0bf19e0b3
This commit is contained in:
Moti Zilberman
2024-03-25 07:12:18 -07:00
committed by Facebook GitHub Bot
parent c6bc0b090f
commit 4cc3ed8b2c
+1
View File
@@ -27,6 +27,7 @@ const INTERNAL_CALLSITES_REGEX = new RegExp(
'/Libraries/YellowBox/.+\\.js$',
'/metro-runtime/.+\\.js$',
'/node_modules/@babel/runtime/.+\\.js$',
'/node_modules/@react-native/js-polyfills/.+\\.js$',
'/node_modules/event-target-shim/.+\\.js$',
'/node_modules/invariant/.+\\.js$',
'/node_modules/react-devtools-core/.+\\.js$',