react-native-url-polyfill icon indicating copy to clipboard operation
react-native-url-polyfill copied to clipboard

feat: convert mjs import statements to commonjs

Open AllanZhengYP opened this issue 2 years ago • 1 comments

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.

AllanZhengYP avatar May 29 '23 21:05 AllanZhengYP

This is awesome @AllanZhengYP 👏

Thank you for doing this 😊

anultravioletaurora avatar Apr 03 '25 14:04 anultravioletaurora