Upgrade metro to 0.65.0
Summary: Upgrade metro to 0.65.0 Reviewed By: passy Differential Revision: D26222885 fbshipit-source-id: bb386ae4bc913d47d9f3431368e45c6319f0d65d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e09e3c82ee
commit
9fe82dd6c7
@@ -1,13 +0,0 @@
|
||||
diff --git a/node_modules/metro/src/lib/getPreludeCode.js b/node_modules/metro/src/lib/getPreludeCode.js
|
||||
index 476319e..c1cd920 100644
|
||||
--- a/node_modules/metro/src/lib/getPreludeCode.js
|
||||
+++ b/node_modules/metro/src/lib/getPreludeCode.js
|
||||
@@ -57,7 +57,7 @@ function getPreludeCode(_ref) {
|
||||
"__BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now()",
|
||||
`__DEV__=${String(isDev)}`
|
||||
].concat(_toConsumableArray(formatExtraVars(extraVars)), [
|
||||
- "process=this.process||{}",
|
||||
+ "process=process||this.process||global.process||{}",
|
||||
`__METRO_GLOBAL_PREFIX__='${globalPrefix}'`
|
||||
]);
|
||||
return `var ${vars.join(",")};${processEnv(
|
||||
Reference in New Issue
Block a user