Skip to content

Commit

Permalink
fix(library): rename UMD library file in dist
Browse files Browse the repository at this point in the history
dist/QRScanner.min.js is now dist/cordova-plugin-qrscanner-lib.min.js
  • Loading branch information
bitjson committed Sep 28, 2016
1 parent 394e2ea commit a4b385f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/library/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<title>QRScanner Library Test</title>
<script src="../../dist/QRScanner.min.js"></script>
<script src="../../dist/cordova-plugin-qrscanner-lib.min.js"></script>
<script>
function prepare(){
QRScanner.prepare(function(err, status){
Expand Down
2 changes: 1 addition & 1 deletion webpack.library.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
},
output: {
path: './dist',
filename: 'QRScanner.min.js',
filename: 'cordova-plugin-qrscanner-lib.min.js',
library: 'QRScanner',
libraryTarget: 'umd',
umdNamedDefine: true
Expand Down

0 comments on commit a4b385f

Please sign in to comment.