mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
Remove 'transform-runtime' from webpack example
This commit is contained in:
@@ -182,7 +182,7 @@ const babelLoaderConfiguration = {
|
||||
// Babel configuration (or use .babelrc)
|
||||
// This aliases 'react-native' to 'react-native-web' and includes only
|
||||
// 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
|
||||
presets: ['react-native']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user