Skip to content

Full transition to ES modules #416

@birdofpreyru

Description

@birdofpreyru

Right now Webpack builds the web-bundle of the library into CJS modules, with imports effectively replaced by require, which now causes issues with libraries like react-router (see remix-run/react-router#12770), which expose different builds for import and require entries from the host code. So... we should transition to building everything into MJS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    On HoldBlocked by another ticket / issue / etc.P1High priority. Important thing to focus on.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions