Skip to content

@bcc-code/component-library-vue is not tree-shakeable #369

@Dr-Wade

Description

@Dr-Wade

Tested against @bcc-code/component-library-vue@1.3.18.

Importing a single component from the library pulls the entire library into the bundle.
I've created some widgets that uses a couple of components only, and the resulting build is 2.5MB, of mostly unused code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions