diff --git a/webpack.config.js b/webpack.config.js index 4c154749..21db6324 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,7 +11,8 @@ module.exports = { filename: '[name].js', libraryTarget: 'umd', library: 'ReactDropdownTreeSelect', - umdNamedDefine: true + umdNamedDefine: true, + globalObject: 'this' }, externals: { react: {