Skip to content

Commit

Permalink
Merge pull request #56 from fgagneten-cm/fix/self_undefined
Browse files Browse the repository at this point in the history
Use "this" as a globalObject in webpack
  • Loading branch information
farahat80 committed Apr 17, 2021
2 parents 468cb43 + 322e3ee commit f6fa5d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.build.js
Expand Up @@ -10,6 +10,7 @@ module.exports = {
libraryTarget: 'umd',
library: 'ReactWeather',
umdNamedDefine: true,
globalObject: 'this'
},
devtool: false,
module: {
Expand Down

0 comments on commit f6fa5d9

Please sign in to comment.