Skip to content

Don't override require in scope #90

@elsassph

Description

@elsassph

When targeting the browser (e.g. not node and not webpack), Modular will inject a require stub.

This stub should not override a require function in scope.

Issue appeared in HaxeFoundation/hxnodejs#121 where the NodeJS target was not detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions