repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 1.8 kB
JSON
{"ast":null,"code":"import \"./winter\";\nimport 'expo/virtual/rsc';\nif (__DEV__) {\n if (!('__fbBatchedBridgeConfig' in global)) {\n Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n get() {\n throw new Error(\"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\");\n }\n });\n }\n}","map":{"version":3,"names":["__DEV__","global","Object","defineProperty","get","Error"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/expo/src/Expo.fx.web.tsx"],"sourcesContent":["import './winter';\nimport 'expo/virtual/rsc';\n\n// When users dangerously import a file inside of react-native, it breaks the web alias.\n// This is one of the most common, and cryptic web errors that users encounter.\n// This conditional side-effect provides a more helpful error message for debugging.\n// Use a wrapper `__DEV__` to remove this entire block in production.\nif (__DEV__) {\n if (\n // Skip mocking if someone is shimming this value out.\n !('__fbBatchedBridgeConfig' in global)\n ) {\n Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n get() {\n throw new Error(\n \"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\"\n );\n },\n });\n }\n}\n"],"mappings":"AAAA;AACA,OAAO,kBAAkB;AAMzB,IAAIA,OAAO,EAAE;EACX,IAEE,EAAE,yBAAyB,IAAIC,MAAM,CAAC,EACtC;IACAC,MAAM,CAACC,cAAc,CAACF,MAAM,EAAE,yBAAyB,EAAE;MACvDG,GAAGA,CAAA,EAAG;QACJ,MAAM,IAAIC,KAAK,CACb,qJACF,CAAC;MACH;IACF,CAAC,CAAC;EACJ;AACF","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}