We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a5ae7c commit fff88ecCopy full SHA for fff88ec
webpack.config.js
@@ -8,7 +8,8 @@ module.exports = {
8
filename: "react-optimize.js",
9
library: "react-optimize",
10
libraryTarget: 'umd',
11
- umdNamedDefine: true
+ umdNamedDefine: true,
12
+ globalObject: 'this'
13
},
14
externals: {
15
react: 'react',
0 commit comments