react-native-url-polyfill
react-native-url-polyfill copied to clipboard
feat: convert mjs import statements to commonjs
Resovles: #446
this change fixes the issue when using Jest react-native preset against TypeScript, the transpiled code contains unrecognized 'import' statement. Moreover the code pointed by the 'main' entry point should be commonjs module.
This is awesome @AllanZhengYP 👏
Thank you for doing this 😊