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
Smaller pure js library? #37
Comments
I will look into this when I get a chance. There are a lot of dependencies at the moment. |
@prashantpawar I wanted to understand your concern better. A quick fix might be to try to break up the bundle into smaller modules. While this will not reduce overall load time (which is a problem for low bandwidth applications), it would improve initial load time of an app (hiding that time) If initial load time is an issue, you could look into async loading the library as a workaround at the moment. You are right that it is quite large, I just don't have the bandwidth (pun intended) to fix that right now. |
Is this tool a package.json scanner? If it is, then this would be the dependencies, not what would get into a build. I did not take the time to specify build dependencies, but the bundler does not use package.json to figure out what to put into the build anyway. Typescript should be invisible inside of a build.
|
I ran a report from the bundler. The included files that mostly have to do with blockchain and encryption. There is just a lot of them. |
Is it possible to have a smaller sized library for the pure js implementation? 871kb is a bit too big. How can I reduce the size of the library?
The text was updated successfully, but these errors were encountered: