mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-05 11:19:34 +00:00
Fix example webpack config in documentation
This commit is contained in:
committed by
Nicolas Gallagher
parent
beb907b180
commit
ae9a9cde5f
@@ -61,7 +61,7 @@ module.exports = {
|
|||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env.NODE_ENV': JSON.stringify('production')
|
'process.env.NODE_ENV': JSON.stringify('production')
|
||||||
})
|
})
|
||||||
},
|
],
|
||||||
|
|
||||||
resolve: {
|
resolve: {
|
||||||
// Maps the 'react-native' import to 'react-native-web'.
|
// Maps the 'react-native' import to 'react-native-web'.
|
||||||
|
|||||||
Reference in New Issue
Block a user