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

Optimize package size by using .d.ts and js for large ts files such as material icons file #11

Open
softmarshmallow opened this issue Oct 6, 2021 · 0 comments

Comments

@softmarshmallow
Copy link
Member

5000+ Lines

https://github.com/gridaco/flutter-builder/blob/main/packages/flutter/lib/material/icons.ts

This almost takes up 666kb as js on npm. we can minimize this by exporting all types to .d.ts and having single dynamic function on js side.

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

1 participant