Skip to content

Commit

Permalink
fix: set bridget to be used in global object
Browse files Browse the repository at this point in the history
  • Loading branch information
filipboev committed Mar 25, 2021
1 parent be7f747 commit f07b055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ module.exports = {
output: {
library: 'bridget',
libraryTarget: 'umd',
umdNamedDefine: true,
filename: 'bridget.js',
globalObject: 'this',
path: path.resolve(__dirname, 'dist')
},
module: {
Expand Down

0 comments on commit f07b055

Please sign in to comment.