Use QrScanner with UMD build for non-module scripts
masterFor projects that are not based on ES6 modules, you can use the UMD build qr-scanner.umd.min.js via a standard script tag.
<script src="path/to/qr-scanner.umd.min.js"></script>
<script>
// do something with QrScanner
</script>