From a453e16a16d4d46b560e481b92df33fbeae44d6a Mon Sep 17 00:00:00 2001 From: cha0s Date: Wed, 7 Apr 2021 03:19:05 -0500 Subject: [PATCH] fix: hot patch --- packages/react/src/build/react.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react/src/build/react.js b/packages/react/src/build/react.js index 861e16c..ca7d071 100644 --- a/packages/react/src/build/react.js +++ b/packages/react/src/build/react.js @@ -46,4 +46,6 @@ module.exports = () => (neutrino) => { ], }, })(neutrino); + neutrino.config.resolve.alias + .set('react-dom', '@hot-loader/react-dom'); };