Skip to content

Feature request: multiple JS runtime check #217

Open
@himself65

Description

@himself65

Add import check for more exports conditions like edge-light, workerd, browser, worker, node, bun, deno...

It's a common issue that a module might not comptable with some js platform because of lack of runtime only API (like file system, child-process)

You can see all export keys here: https://runtime-keys.proposal.wintercg.org/

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