Skip to content

no calendar on partial bundles #4883

Closed
@mattcorner

Description

@mattcorner

I am trying to get the connectgaps property to work in a React app where I use a custom plotly.js bundle to reduce the build size.

With this custom bundle which imports only Surface, connectgaps does not work.

If I use the full plotly.js bundle, the plot works properly.

See attached github repo for a simple reproduction showing the two plots side-by-side.
image
Github repo for reproduction

I presume that I either need to import something extra in the custom bundle, or that lib/Surface is missing a dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions