const interopRequire = ( src ) => ( 'default' in src ? src . default : src ) ; export const rnw = { } ; if ( process . env . IS_STATIC === 'is_static' ) { const createCompileableStyle = require ( 'react-native-web/dist/cjs/exports/StyleSheet/createCompileableStyle' ) ; const createReactDOMStyle = require ( 'react-native-web/dist/cjs/exports/StyleSheet/createReactDOMStyle' ) ; const i18Style = require ( 'react-native-web/dist/cjs/exports/StyleSheet/i18nStyle' ) ; const atomic = require ( 'react-native-web/dist/cjs/exports/StyleSheet/compile' ) . atomic ; Object . assign ( rnw , { createCompileableStyle , createReactDOMStyle , i18Style , atomic , } ) ; } else if ( process . env . TAMAGUI_TARGET === 'web' ) { Object . assign ( rnw , interopRequire ( require ( 'react-native-web' ) . TamaguiExports ) ) ; }