diff --git a/webpack.config.dev.babel.js b/webpack.config.dev.babel.js index 6ff93eec..04cae2b4 100644 --- a/webpack.config.dev.babel.js +++ b/webpack.config.dev.babel.js @@ -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%'] }), ],