mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
* mobile: upgrade to react-native 0.71 * mobile: update to react-native 0.72.0 * mobile: fix release build on android * mobile: fix editor stuck in loading state * mobile: fix bootsplash logo in dark mode * mobile: update patch files * mobile: cleanup * mobile: increase delay * mobile: add logs on upload * mobile: ensure editor is ready before note loading * mobile: fix ui * mobile: fix * ci: update workflow * ci: undo workflow changes --------- Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
diff --git a/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.d.ts b/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.d.ts
|
|
index 6cbcc22..62d5422 100644
|
|
--- a/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.d.ts
|
|
+++ b/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.d.ts
|
|
@@ -12,6 +12,7 @@ export interface ConfigOptionsT {
|
|
reporter?: any;
|
|
config?: string;
|
|
}
|
|
+
|
|
/**
|
|
* Load Metro config.
|
|
*
|
|
diff --git a/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.js b/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.js
|
|
index f26ef52..233a7c9 100644
|
|
--- a/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.js
|
|
+++ b/node_modules/@react-native-community/cli-plugin-metro/build/tools/loadMetroConfig.js
|
|
@@ -82,6 +82,7 @@ async function loadMetroConfig(ctx, options = {}) {
|
|
(0, _getDefaultMetroConfig.default)(ctx));
|
|
return (0, _metroConfig().mergeConfig)(loadedConfig, overrideConfig);
|
|
}
|
|
+ if (!overrideConfig.resolver.resolveRequest) delete overrideConfig.resolver.resolveRequest;
|
|
return (0, _metroConfig().mergeConfig)(await (0, _metroConfig().loadConfig)({
|
|
cwd: ctx.root,
|
|
...options
|