Skip to content

Commit

Permalink
Fix issue with react external name
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Nov 28, 2015
1 parent fd98e31 commit 466e847
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ module.exports = {
libraryTarget: 'umd'
},
externals: {
react: 'React'
react: {
root: 'React',
commonjs: 'react',
commonjs2: 'react',
amd: 'react'
}
},
plugins: [
new webpack.DefinePlugin({
Expand Down

0 comments on commit 466e847

Please sign in to comment.