Skip to content

Migrate to ESM #5

Closed
Closed
@CMCDragonkai

Description

@CMCDragonkai

Specification

This should be migrated to ESM, all upstream libraries is already ESM.

Also while doing this, we should conditionally import perf_hooks. Because browser environments would rely on the global performance API instead. And one of the whole points was to use top level awaits as way to switch between browser implementation or node implementation.

Additional context

Tasks

  1. Collate migration style from all repos
  2. Migrate this repo
  3. Release v2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions