Skip to content

Commit

Permalink
MM-47046/MM-47052 Use version of React DOM provided by web app (#868)
Browse files Browse the repository at this point in the history
* add ReactDOM to webpack externals

* npm install --verbose

* use git insteadOf
  • Loading branch information
mickmister committed Oct 1, 2022
1 parent f986c15 commit cc7709d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ endif
## Ensures NPM dependencies are installed without having to run this all the time.
webapp/.npminstall:
ifneq ($(HAS_WEBAPP),)
git config --global url."ssh://git@".insteadOf git://
cd webapp && $(NPM) install
touch $@
endif
Expand Down
1 change: 1 addition & 0 deletions webapp/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const config = {
},
externals: {
react: 'React',
'react-dom': 'ReactDOM',
redux: 'Redux',
'react-redux': 'ReactRedux',
'prop-types': 'PropTypes',
Expand Down

0 comments on commit cc7709d

Please sign in to comment.