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

Bundle size is huge #588

Closed
OskarGroth opened this issue Nov 8, 2023 · 1 comment
Closed

Bundle size is huge #588

OskarGroth opened this issue Nov 8, 2023 · 1 comment

Comments

@OskarGroth
Copy link

Because the only way to import the package is via the umbrella export:

https://github.com/firecmsco/firecms/blob/029f3f641be99d6241a4ad827190e8a4ccea5cbe/lib/src/index.ts

The resulting import for just some types is huge:

Screenshot 2023-11-08 at 11 42 22

Any plans to address this?

@fgatti675
Copy link
Member

Hi Oskar, Thank you for the feedback :)
FireCMS is a fairly complex app, and all the features are required in one way or another.
In version 3.0 we have removed MUI and emotion from the equation and replaced it with tailwind which already helps.
We are working on dynamic lazy imports which will also be beneficial for code splitting.

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