UNPKG

1.2 kBSource Map (JSON)View Raw
1{"version":3,"file":"LogBox.fx.expo.js","sourceRoot":"","sources":["../../src/environment/LogBox.fx.expo.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,IAAI,OAAO,EAAE;IACX,IAAI,SAAS,CAAC,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE;QACrD,2FAA2F;QAC3F,SAAS,CAAC,uBAAuB,EAAE,CAAC;KACrC;SAAM;QACL,qFAAqF;QACrF,sDAAsD;QACtD,aAAa;QACb,SAAS,CAAC,uBAAuB,GAAG,GAAG,EAAE,CACvC,OAAO,CAAC,IAAI,CACV,+HAA+H,CAChI,CAAC;KACL;CACF","sourcesContent":["import Constants from 'expo-constants';\nimport { YellowBox } from 'react-native';\n\nif (__DEV__) {\n if (Constants.manifest?.experiments?.redesignedLogBox) {\n // @ts-ignore: This needs to be run before Expo.fx, and it's not included on external types\n YellowBox.__unstable_enableLogBox();\n } else {\n // Replace the YellowBox.__unstable_enableLogBox function to make discovery easier if\n // someone is following the React Native 62 blog post.\n // @ts-ignore\n YellowBox.__unstable_enableLogBox = () =>\n console.warn(\n 'To enable the redesigned LogBox in your app, add \"experiments\": {\"redesignedLogBox\": true} to your app.json or app.config.js.'\n );\n }\n}\n"]}
\No newline at end of file