You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.5 KiB
1 line
1.5 KiB
{"ast":null,"code":"if (__DEV__) {\n if (!('__fbBatchedBridgeConfig' in global)) {\n Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n get: function 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,"sources":["../src/Expo.fx.web.tsx"],"names":[],"mappings":"AAIA,IAAI,OAAO,EAAE;EACX,IAEE,EAAE,yBAAyB,IAAI,MAAM,CAAC,EACtC;IACA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,yBAAyB,EAAE;MACvD,GAAG,iBAAA;QACD,MAAM,IAAI,KAAK,CACb,qJAAqJ,CACtJ;MACH;KACD,CAAC;EACH;AACF","sourcesContent":["// 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"],"sourceRoot":""},"metadata":{},"sourceType":"script"} |