Make sure we only pack one copy of react-dom (#2603)
Fixes https://github.com/vector-im/vector-web/issues/2601
This commit is contained in:
parent
8b0390f354
commit
67c882648f
|
@ -57,7 +57,8 @@ module.exports = {
|
||||||
alias: {
|
alias: {
|
||||||
// alias any requires to the react module to the one in our path, otherwise
|
// alias any requires to the react module to the one in our path, otherwise
|
||||||
// we tend to get the react source included twice when using npm link.
|
// we tend to get the react source included twice when using npm link.
|
||||||
react: path.resolve('./node_modules/react'),
|
"react": path.resolve('./node_modules/react'),
|
||||||
|
"react-dom": path.resolve('./node_modules/react-dom'),
|
||||||
"react-addons-perf": path.resolve('./node_modules/react-addons-perf'),
|
"react-addons-perf": path.resolve('./node_modules/react-addons-perf'),
|
||||||
|
|
||||||
// same goes for js-sdk
|
// same goes for js-sdk
|
||||||
|
|
Loading…
Reference in New Issue