mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-02 10:35:54 +00:00
@@ -36,7 +36,7 @@ const babelLoaderConfiguration = {
|
|||||||
cacheDirectory: true,
|
cacheDirectory: true,
|
||||||
// This aliases 'react-native' to 'react-native-web' and includes only
|
// This aliases 'react-native' to 'react-native-web' and includes only
|
||||||
// the modules needed by the app
|
// the modules needed by the app
|
||||||
plugins: ['react-native-web/babel']
|
plugins: ['react-native-web/babel'],
|
||||||
// The 'react-native' preset is recommended (or use your own .babelrc)
|
// The 'react-native' preset is recommended (or use your own .babelrc)
|
||||||
presets: ['react-native']
|
presets: ['react-native']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user