Skip to content

Commit

Permalink
[#2569] Update react-hot-loader and react-hot-dom [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrammer committed Mar 23, 2020
1 parent 4b43c78 commit 062ab66
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 27 deletions.
85 changes: 59 additions & 26 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"react-dom": "^16.8.0",
"react-grid-layout": "^0.14.6",
"react-grid-system": "^4.4.5",
"react-hot-loader": "3.0.0-beta.6",
"react-hot-loader": "^4.12.20",
"react-intl": "^2.3.0",
"react-leaflet": "^2.6.1",
"react-measure": "^2.0.2",
Expand Down Expand Up @@ -136,6 +136,7 @@
"uuid": "3.3.3"
},
"devDependencies": {
"@hot-loader/react-dom": "^16.13.0",
"@storybook/addon-actions": "^3.3.15",
"@storybook/addon-knobs": "^3.3.15",
"@storybook/addon-links": "^3.3.15",
Expand Down
3 changes: 3 additions & 0 deletions client/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const HTML_CONFIG = {

export default {
resolve: {
alias: {
'react-dom': '@hot-loader/react-dom',
},
extensions: ['*', '.js', '.jsx', '.json'],
},
devtool: 'cheap-module-eval-source-map', // more info:https://webpack.js.org/guides/development/#using-source-maps and https://webpack.js.org/configuration/devtool/
Expand Down

0 comments on commit 062ab66

Please sign in to comment.