Skip to content

Switch to ESM only #111

@dumbmatter

Description

@dumbmatter

Advantages:

Disadvantages:

  • Annoying for people on old versions of Node.js (although all current versions of Node.js now support require(ESM)
  • Might introduce compatibility problems with some tools (especially Jest!)

That last point is the big one, since a lot of people use fake-indexeddb with Jest, and last I tried it was still really annoying to get ESM stuff working right in Jest. So this issue might sit unresolved for a while.

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