Skip to content

ENVIRONMENT_HAS_NODE breaks with node-browser-libs #8816

Description

@lukebelliott

Hello

45f74ea seems to break running in a browser with node-browser-libs, since the process global is defined.

A bit like #7514, this works for me:

ENVIRONMENT_HAS_NODE = typeof process === 'object' && !process.browser && typeof require === 'function';

Thanks

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