silence expo router warning
This commit is contained in:
@@ -66,6 +66,13 @@ module.exports = async function (env, argv) {
|
|||||||
'react-native-webview': 'react-native-web-webview',
|
'react-native-webview': 'react-native-web-webview',
|
||||||
'react-native-gesture-handler': false, // RNGH should not be used on web, so let's cause a build error if it sneaks in
|
'react-native-gesture-handler': false, // RNGH should not be used on web, so let's cause a build error if it sneaks in
|
||||||
'@sentry-internal/replay': false, // not used, ~300kb of dead weight
|
'@sentry-internal/replay': false, // not used, ~300kb of dead weight
|
||||||
|
/*
|
||||||
|
* @sentry/react-native's tracing integration probes for expo-router via a
|
||||||
|
* try/catch require(). We don't use expo-router, so the module can't
|
||||||
|
* resolve and webpack warns on every build. Stubbing it to an empty
|
||||||
|
* module makes the probe return null (`mod?.store ?? null`) silently.
|
||||||
|
*/
|
||||||
|
'expo-router/build/global-state/router-store': false,
|
||||||
/*
|
/*
|
||||||
* react-native-svg's fetchData util imports the ~55KB `buffer` polyfill,
|
* react-native-svg's fetchData util imports the ~55KB `buffer` polyfill,
|
||||||
* but is only needed by SvgUri/SvgXml remote loading, which we don't use.
|
* but is only needed by SvgUri/SvgXml remote loading, which we don't use.
|
||||||
|
|||||||
Reference in New Issue
Block a user