Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack example #54

Closed
ghost opened this issue Jun 8, 2020 · 2 comments
Closed

Webpack example #54

ghost opened this issue Jun 8, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 8, 2020

馃憢

Thank you for this library!

I wonder if it'd possible to add a webpack example for it? I've tried using it with a dynamic import:

const qrcode = await import("html5-qrcode");

but the returned object is empty. I guess this is because there are no exports like export {Html5Qrcode, Html5QrcodeScanner}; in https://github.com/mebjas/html5-qrcode/blob/master/html5-qrcode.js?

@mebjas
Copy link
Owner

mebjas commented Jun 27, 2020

Does this work - https://webpack.js.org/configuration/externals/

@mebjas mebjas assigned ghost Jul 19, 2020
@ghost
Copy link
Author

ghost commented Jul 22, 2020

Hi @mebjas! Sorry, I'm no longer using your library. And I'm sorry for being unresponsive.

@ghost ghost closed this as completed Jul 22, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant