Skip to content

Commit

Permalink
fix(package): Switch globalObject to 'this' 🐛 (#122)
Browse files Browse the repository at this point in the history
Fix bug introduced by Webpack 4's chnages:
webpack/webpack#6525

Closes #64
  • Loading branch information
mrchief authored Jun 21, 2018
1 parent d530b51 commit 09067f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module.exports = {
filename: '[name].js',
libraryTarget: 'umd',
library: 'ReactDropdownTreeSelect',
umdNamedDefine: true
umdNamedDefine: true,
globalObject: 'this'
},
externals: {
react: {
Expand Down

0 comments on commit 09067f0

Please sign in to comment.