Skip to content

elkjs and maplibre-gl included in bundle despite not using Graph/Map components #748

@jopelle1

Description

@jopelle1

Hello,
We are using unovis (v1.6.4) in our Angular application.
Even though we are not using any components that require elkjs or maplibre-gl, these dependencies are still being included in our production bundle as lazy-loaded chunks.

Even though these librairies are not loaded at runtime, this is pretty annoying as it pollutes our bundle and makes our bundle size analysis harder.

I have a dirty workaround to fix this issue, which is adding these librairies to the externalDependencies angular option, but it is pretty ugly.

Are you considering fixing that behavior?

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