Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
#16 - use 'this' instead of 'window' for global
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangoacher committed Jun 17, 2019
1 parent 9e1587d commit e14522c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.dist.config.js
Expand Up @@ -11,7 +11,8 @@ module.exports = merge(commonConfig, {
library: 'ReactAnimation',
libraryTarget: 'umd',
publicPath: '/dist/',
umdNamedDefine: true
umdNamedDefine: true,
globalObject: 'this'
},
externals: {
// Don't bundle react or react-dom
Expand Down

0 comments on commit e14522c

Please sign in to comment.