Skip to content

Commit

Permalink
Revert "Fix Webpack externals config to support more than global vari…
Browse files Browse the repository at this point in the history
…able (microsoft#15773)"

This reverts commit 9ffa0f0.
  • Loading branch information
ecraig12345 authored Jan 21, 2021
1 parent 859fe00 commit 8525756
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions scripts/webpack/webpack-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,8 @@ module.exports = {
: output,

externals: {
react: {
commonjs: 'react',
amd: 'react',
root: 'React',
},
'react-dom': {
commonjs: 'react-dom',
amd: 'react-dom',
root: 'ReactDOM',
},
react: 'React',
'react-dom': 'ReactDOM',
},

resolve: {
Expand Down

0 comments on commit 8525756

Please sign in to comment.