{"action":"created","issue":{"url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/5","labels_url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/5/comments","events_url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/5/events","html_url":"https://github.com/dwa012/html5-qrcode/issues/5","id":30030803,"number":5,"title":"Please provide build instructions","user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-03-24T12:53:03Z","updated_at":"2015-04-14T19:04:53Z","closed_at":null,"body":"I'm trying to reproduce a working build of a minified .js file containing all of jsqrcode and html5-qrcode.js because I need source maps for our internal error tracking system (Sentry).\r\n\r\nI got as far as\r\n```\r\nuglifyjs src/jsqrcode/src/{grid,version,detector,formatinf,errorlevel,bitmat,datablock,bmparser,datamask,rsdecoder,gf256poly,gf256,decoder,QRCode,findpat,alignpat,databr}.js\\\r\n         src/html5-qrcode.js \\\r\n         -o lib/html5-qrcode.min.js \\\r\n         --source-map lib/html5-qrcode.min.map \\\r\n         -p relative\r\n```\r\n(by taking the order of the jsqrcode script files from src/jsqrcode/README).\r\n\r\nUnfortunately the JS I get fails to work: it displays one webcam image and then stops updating, with an `ReferenceError: localMediaStream is not defined` error on line 3 of my minified .js file (and for bonus points Chrome fails to find the .min.map file so I don't get a sane traceback).\r\n\r\nCould you please document your build process?"},"comment":{"url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/comments/93021759","html_url":"https://github.com/dwa012/html5-qrcode/issues/5#issuecomment-93021759","issue_url":"https://api.github.com/repos/dwa012/html5-qrcode/issues/5","id":93021759,"user":{"login":"OACDesigns","id":2932334,"avatar_url":"https://avatars.githubusercontent.com/u/2932334?v=3","gravatar_id":"","url":"https://api.github.com/users/OACDesigns","html_url":"https://github.com/OACDesigns","followers_url":"https://api.github.com/users/OACDesigns/followers","following_url":"https://api.github.com/users/OACDesigns/following{/other_user}","gists_url":"https://api.github.com/users/OACDesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/OACDesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OACDesigns/subscriptions","organizations_url":"https://api.github.com/users/OACDesigns/orgs","repos_url":"https://api.github.com/users/OACDesigns/repos","events_url":"https://api.github.com/users/OACDesigns/events{/privacy}","received_events_url":"https://api.github.com/users/OACDesigns/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T19:04:53Z","updated_at":"2015-04-14T19:04:53Z","body":"Kinda old, I know, but I've started using this in one of my projects.\r\nI also had the need to build minified versions, so I've added in a Grunt config along with dev instructions.\r\nI've also fixed some issues (there was no way to cancel the video stream or the timeouts doing the scanning), which I've also documented in the Readme.\r\n\r\nhttps://github.com/dwa012/html5-qrcode/pull/19"}}