Skip to content

module.require isn't present #475

Closed
browserify/browser-pack
#19
@fb55

Description

@fb55

In node.js, module.require is the basis for the require function. Browserify instead directly hands the require function over, without exposing any functionality as module.require.

I'm trying to browserify a module that uses defaultable, which heavily depends on the behavior of node.

It would be awesome if module.require could be at least a reference to the require function.

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