Allow import of non-js files via exports
in package.json
#10711
Merged
exports
in package.json
#10711