Skip to content

Expose API for package extension #26

Description

@bisubus

It would be beneficial to add existing internals to exports, so package could be wrapped and extended instead of forking, namely _setExports and _types (the object is hard-coded in _setExports).

The thing I've noticed is that process.env.NODE_NDEBUG is referred twice, so providing _setExports with argument on recurring export won't take effect.

Can it be done?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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