diff --git a/webpack.config.prod.js b/webpack.config.prod.js index ca2afded8..4a22c667c 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -39,6 +39,7 @@ module.exports = { libraryTarget: 'umd', path: path.resolve(__dirname, 'lib'), umdNamedDefine: true, + globalObject: 'this', }, plugins: [ new UglifyJsPlugin({