Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Fortawesome: treeshaking behavior not working #278

Open
@ocBruno

Description

🐛 Bug Report

After looking at the size of the build and the config I noticed the whole free-solid-svg-icons library was being imported.

To reproduce

yarn clone github.com/hospitalrun/components
view index.tsx file

This bug is related to following issue as it is taking up space in the hospitalrun build

HospitalRun/hospitalrun-frontend#1808

Expected behavior

Only import necessary icons

  • node version: 12.16.0
  • os: Windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions