Skip to content

Commit f0b8fa9

Browse files
authored
Added alias for new ReactMount location -- #73 (#74)
This is a temporary fix for ReactMount being moved to react-dom in 15.4+. For a long-term solution that involves updating to RHL3 please follow the relevant issue/PR.
1 parent 4fb12a7 commit f0b8fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cfg/base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ module.exports = {
3535
sources: `${defaultSettings.srcPath}/sources/`,
3636
stores: `${defaultSettings.srcPath}/stores/`,
3737
styles: `${defaultSettings.srcPath}/styles/`,
38-
config: `${defaultSettings.srcPath}/config/` + process.env.REACT_WEBPACK_ENV
38+
config: `${defaultSettings.srcPath}/config/` + process.env.REACT_WEBPACK_ENV,
39+
'react/lib/ReactMount': 'react-dom/lib/ReactMount'
3940
}
4041
},
4142
module: {}

0 commit comments

Comments
 (0)