Skip to content

Locale files not exported #98

@jstcki

Description

@jstcki

Since switching to type: module I can't import the locale JSON files anymore because they're not listed in the exports.

import localeCh from "d3-time-format/locale/de-CH.json";

// => Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './locale/de-CH.json' is not defined by "exports" in ...

Is this intentional? The same applies to d3-format.

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