module: fix extension searching for exports
This PR disables extension searching for the CommonJS exports implementation.
The catch with supporting extension searching for exports on CommonJS is having differences between the ESM and CJS implementations so this brings the gap back together on this, as it really should have been to begin with I think.
Please review @addaleax @jkrems when you can. Would be good to get this out soon as it is a breaking change under the experimental status.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines