Skip to content

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

Open
@vinaybedre

Description

@vinaybedre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions