-
Notifications
You must be signed in to change notification settings - Fork 867
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle size? can it be made smaller? #158
Comments
maybe using jsqr https://github.com/cozmo/jsQR instead of zxing would help? |
maybe it's these things:
are those needed? update2:
So.. I'm still missing a couple hundred KB :-\ hmm the biggest one is fsm-as-promised -- is that needed? |
I think dropping |
@sinitsyn-alex I changed to it's a smidge slower, but is much smaller |
I'm analyzing my own app looking for things to slim down, and noticed that instascan takes up the most space? (even in development mode!)

those sizes are all the gzipped sizes. instascan's index.js is 2.19MB.
I'm guessing most of that is zxing.js ?
Is there anything that can be done?
The QRCode package is quite small:

but I know it wouldn't have any image-processing utilities, which I'm sure is the bulk of what zxing.js is doing.
The text was updated successfully, but these errors were encountered: