Skip to content

Commit

Permalink
Quiet react-hot-loader error triggered with React 15.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-c committed Nov 25, 2016
1 parent 245ce48 commit c4d2abc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webpack.config.dev.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ module.exports = {
]),
new webpack.NoErrorsPlugin(),
],
resolve: {
alias: {
// For react-hot-loader 1.x issue (https://github.com/gaearon/react-hot-loader/issues/417)
'react/lib/ReactMount': 'react-dom/lib/ReactMount',
},
},
postcss: [
autoprefixer({ browsers: ['IE >= 9', 'last 2 versions', '> 1%'] }),
],
Expand Down

0 comments on commit c4d2abc

Please sign in to comment.