react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

ERROR: ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead

Open devon-whil opened this issue 3 years ago • 0 comments

index.js is mixing module syntax, it's using both CJS and ESM. According to this test case, mixing module syntax is not allowed in webpack. This line of code should be replaced with export default Notifications. A PR has been submitted incase you agree that this is a bug.

devon-whil avatar Jun 17 '22 16:06 devon-whil