Skip to content

Commit

Permalink
workaround on node.js example, see #132
Browse files Browse the repository at this point in the history
  • Loading branch information
odahcam authored Jan 30, 2019
1 parent 9bd9b0f commit 35d915e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Use on browser with UMD:
Use outside the browser with CommonJS:

```javascript
const { MultiFormatReader, BarcodeFormat } = require('@zxing/library';);
const { MultiFormatReader, BarcodeFormat } = require('@zxing/library/esm5'); // use this path since v0.5.1

const hints = new Map();
const formats = [BarcodeFormat.QR_CODE, BarcodeFormat.DATA_MATRIX/*, ...*/];
Expand Down

0 comments on commit 35d915e

Please sign in to comment.