aleph.js icon indicating copy to clipboard operation
aleph.js copied to clipboard

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

Open vinaybedre opened this issue 2 years ago • 0 comments

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

vinaybedre avatar Jan 26 '23 16:01 vinaybedre