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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to squeeze it down to under 10MB? #437

Closed
JPSeabury opened this issue Jun 10, 2020 · 2 comments
Closed

Able to squeeze it down to under 10MB? #437

JPSeabury opened this issue Jun 10, 2020 · 2 comments

Comments

@JPSeabury
Copy link

I'm trying to implement a barcode scanner using quaggaJS in Salesforce. Salesforce limits the size of downloadable static resources to 10MB. The current quaggaJS library is just over 18MB.

Is there a slim / skinny version available?

@ericblade
Copy link
Collaborator

ericblade commented Jun 11, 2020

Not sure where you're seeing that -- in quaggajs, the minified browser lib is only 92Kb, and the node lib is just a bit over 1Mb. Even in my fork, which has a much larger output, it's only 280Kb minified, and node lib is a bit over 1.2Mb. (i do need to figure out if there's a way i can decrease that...)

@JPSeabury
Copy link
Author

Thanks. PEBKAC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants