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.
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?