Skip to content

Commit

Permalink
Update webpack React externals [Fix #11, Fix #8]
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneLem committed Sep 30, 2016
1 parent b3498a0 commit 7028383
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ module.exports = {
},

externals: [{
'react': 'React',
'react': {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react',
},
}],

module: {
Expand Down

0 comments on commit 7028383

Please sign in to comment.