Skip to content

Commit

Permalink
Merge pull request #47 from patw0929/fix/webpack4-window-issue
Browse files Browse the repository at this point in the history
Fixed #46: Webpack UDM issue
  • Loading branch information
patw0929 committed Jan 2, 2019
2 parents e5937b8 + 60e20bb commit 2191311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
publicPath: publicPath,
library: 'SmartBanner',
libraryTarget: 'umd',
globalObject: 'typeof self !== \'undefined\' ? self : this',
},

externals: {
Expand Down

0 comments on commit 2191311

Please sign in to comment.