Fix hot-loader warning

Change-Id: I721983ebc15668d69d58ca815cc43e836ef12533
This commit is contained in:
Manuel Stahl
2019-07-26 21:12:26 +02:00
parent 3dd9a168e6
commit 2aa30c1a36
3 changed files with 13 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ module.exports = {
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
'react-dom': '@hot-loader/react-dom',
},
plugins: [
// Prevents users from importing files from outside of src/ (or node_modules/).