jsQR
jsQR copied to clipboard
Consider adding support for importing using ESM
Hello, I am not entirely sure this is possible, but reading through this article it seems like it should be possible to import CJS modules from ESM.
I'd like to request that, if possible, support be added for jsQR to be import-able in ESM:
import jsQR from 'https://unpkg.com/jsqr/dist/jsQR.js';
I would have contributed a PR, but I have no idea how to achieve this. I am interested in your thoughts on the topic and whether you think this is achieveable.