We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77ca0b commit a100a26Copy full SHA for a100a26
1 file changed
.storybook/main.js
@@ -39,9 +39,10 @@ module.exports = {
39
},
40
],
41
})
42
- // Aliases for web support (https://github.com/expo/expo/issues/21469#issuecomment-1576001543)
43
- config.resolve.alias['expo-asset'] = 'expo-asset-web'
+ // Transform all direct `react-native` imports to `react-native-web`
44
config.resolve.alias['react-native$'] = require.resolve('react-native-web')
+ // Other aliases for web support (https://github.com/expo/expo/issues/21469#issuecomment-1576001543)
45
+ config.resolve.alias['expo-asset'] = 'expo-asset-web'
46
config.resolve.alias['aetherspace/navigation'] = require.resolve('./__mocks__/aetherspaceNavigation.tsx')
47
config.resolve.extensions.push('.ts', '.tsx')
48
config.resolve.fallback = {
0 commit comments