Skip to content

Slow build time #10

@antony

Description

@antony

So, after using these icons for a long time and not realising why my Sapper build was slow (about 2 minutes) I decided to do some logging.

Turns out that every time a dependency includes this library, svelte compiles every single icon (tree-shaking happens after compilation it seems), and it adds 6 seconds (on a brand new Ryzen 7 - longer on a slower machine)! to the compile time of your app!

Happy to discuss ideas for improving this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions