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

aleph downloads tree shaked (unused) dependency from chakra-ui / mantine #525

Open
vinaybedre opened this issue Jan 26, 2023 · 0 comments
Open

Comments

@vinaybedre
Copy link

vinaybedre commented Jan 26, 2023

I tried to use both https://chakra-ui.com/ and https://mantine.dev/ with a fresh aleph installation at https://github.com/vinaybedre/aleph-chakra-ui

In both the cases, even if I use just a single component, aleph downloads every components files which are unrelated. In other words, treeshaking is not working as expected.

As you can see from dev-tools, it loads almost 190 JS files

Screenshot 2023-01-26 at 5 08 25 PM

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