mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-29 09:02:03 +00:00
Remove 'transform-runtime' from webpack example
This commit is contained in:
@@ -182,7 +182,7 @@ const babelLoaderConfiguration = {
|
|||||||
// Babel configuration (or use .babelrc)
|
// Babel configuration (or use .babelrc)
|
||||||
// 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', 'transform-runtime'],
|
plugins: ['react-native-web'],
|
||||||
// The 'react-native' preset is recommended to match React Native's packager
|
// The 'react-native' preset is recommended to match React Native's packager
|
||||||
presets: ['react-native']
|
presets: ['react-native']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user