-
Notifications
You must be signed in to change notification settings - Fork 215
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
Make SCI dependency optional for smaller JS builds #203
Comments
Did a quick test using shadow-cljs: metosin/malli 43.1 KB
borkdude/sci 63.6 KB The malli is currently not optimized either for bundle size. Will make sci optional and try to make malli smaller too. |
Added shadow-cljs as dev-dependency and guide how to measure the bundle sizes. With the latest versions (sci got docstrings, making it a lot bigger):
|
Work in progress at #210. It works, but the tests need to be refactored to account for the optionality of sci. |
I have closed the PR. Instead, I'm offering you this library https://github.com/borkdude/dynaload. If you need any help, let me know. :) |
thanks, will try that :) |
Will be fixed in #227 . |
Currently in the context of my application I will never have a need for it and it adds 93kb gzipped at compression level 6.
The text was updated successfully, but these errors were encountered: