Skip to content

Make sure default icons are being tree-shaken, otherwise remove them #134

@mattfwood

Description

@mattfwood

Describe the bug
Right now, even if you use none of the default icons, they're included in your final bundle, adding a lot of bundle size.

To Reproduce
Steps to reproduce the behavior:

  1. Create any react app using Minerva UI
  2. Inspect final bundle
  3. See icons included in final result, even if unused

Expected behavior
Unused icons should not increase final bundle size

Screenshots
image

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