Skip to content

Commit

Permalink
refactor: Remove aliases to React and ReactDOM
Browse files Browse the repository at this point in the history
Those aliases were used so that the bar used the React from the app
if it was provided. Now, in the next version of the bar, either the
app chooses to use the bar+react, or it uses only the bar and the bar
expects to find React and ReactDOM in the environment.
  • Loading branch information
ptbrowne committed Oct 29, 2020
1 parent 31b8fc8 commit 6c43a0c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions config/aliases/globalReact.js

This file was deleted.

1 change: 0 additions & 1 deletion config/aliases/globalReactDOM.js

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@
},
"moduleNameMapper": {
"^config/(.*)": "<rootDir>/src/config/$1",
"^react$": "<rootDir>/config/aliases/globalReact",
"^(react-dom|react-dom/(.*))$": "<rootDir>/config/aliases/globalReactDOM",
"\\.(png|gif|jpe?g|svg)$": "<rootDir>/test/__mocks__/fileMock.js",
"\\.styl$": "identity-obj-proxy"
},
Expand Down

0 comments on commit 6c43a0c

Please sign in to comment.