dashboardphilippines / react-webcam-barcode-scanner

[UNMAINTAINED -- PLEASE USE https://github.com/jamenamcinteer/react-qr-barcode-scanner INSTEAD] A simple React Component using the client's webcam to read barcodes.
45 stars 32 forks source link

Circular depencency on rollup #25

Open zecka opened 3 years ago

zecka commented 3 years ago

When using with rollup I got an error about circular dependencie:

Circular dependency: node_modules\@zxing\library\esm5\index.js -> node_modules\@zxing\library\esm5\browser.js -> node_modules\@zxing\library\esm5\browser\BrowserAztecCodeReader.js -> node_modules\@zxing\library\esm5\core\aztec\AztecReader.js -> node_modules\@zxing\library\esm5\core\aztec\decoder\Decoder.js -> C:\Users\jodoe\Documents\webcamtest\node_modules\@zxing\library\esm5\index.js?commonjs-proxy -> node_modules\@zxing\library\esm5\index.js

Seems to be related to: https://github.com/zxing-js/library/issues/159