Skip to content

Provide this package as an ES Module (ESM) #148

Closed
@greengiraffe

Description

@greengiraffe

EDIT: this does support ESM, as correctly stated here: #148 (comment)

Is your feature request related to a problem? Please describe.

I'd like to use this plugin in an ESM-based environment, which doesn't seem to be possible at the moment since the lib only exports CJS modules (unless I'm missing something). Since i18next itself is provided as CJS and ES, it's possible to write pure ESM-based configs in which this plugin cannot be used.

Describe the solution you'd like

If possible provide an ESM compatible export in addition to the existing CJS export.

Describe alternatives you've considered

I couldn't find any alternatives.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions