Skip to content

g-chartcolour being imported incorrectly #117

Description

@aendra-rininsland

Currently, some charts import g-chartcolour as follows:

import gChartColour from 'g-chartcolour';

This works fine using d3-bootloader but makes interoperability with other build systems difficult, given that g-chartcolour just exports each scale instead of collecting them as a default export. Instead, the following syntax is more accurate:

import * as gChartColour from 'g-chartcolour';

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