This PR adds an exports field to package.json to enable Conditional Exports.
This solves issue #23.
This should not be a breaking change, as all existing public modules will continue to be accessible.
I have set this as a minor bump because it is considered a new feature, but if it is bad, change it.
It has been tested with npm link in local.
close #23
This PR adds an
exports
field topackage.json
to enable Conditional Exports. This solves issue #23. This should not be a breaking change, as all existing public modules will continue to be accessible. I have set this as aminor
bump because it is considered a new feature, but if it is bad, change it. It has been tested withnpm link
in local.