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

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/).

11
package-lock.json generated
View File

@ -379,6 +379,17 @@
"resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.7.2.tgz",
"integrity": "sha512-RMtr1i6E8MXaBWwhXL3yeOU8JXRnz8GNxHvaUfVvwxokvayUY0zoBeWbKw1S9XkufmGEEdQd228pSZXFkAln8Q=="
},
"@hot-loader/react-dom": {
"version": "16.8.6",
"resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.8.6.tgz",
"integrity": "sha512-+JHIYh33FVglJYZAUtRjfT5qZoT2mueJGNzU5weS2CVw26BgbxGKSujlJhO85BaRbg8sqNWyW1hYBILgK3ZCgA==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"scheduler": "^0.13.6"
}
},
"@jest/console": {
"version": "24.9.0",
"resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz",

View File

@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@hot-loader/react-dom": "^16.8.6",
"@material-ui/core": "^4.3.2",
"@material-ui/icons": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^1.13.0",