Skip to content

Commit

Permalink
changed umd library name
Browse files Browse the repository at this point in the history
  • Loading branch information
odahcam committed Oct 29, 2018
1 parent ee2c6ec commit 6828df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const config = (env, argv) => {
// module format
libraryTarget: 'umd',
// library name to be used in browser (e.g. `window.ZXing`).
library: 'ZXing',
library: '@zxing/library',
// will name the AMD module of the UMD build. Otherwise an anonymous define is used.
umdNamedDefine: true
umdNamedDefine: false,
},

/**
Expand Down

0 comments on commit 6828df4

Please sign in to comment.