I just installed this package and am getting the same error whenever I try to import the Modal.
I get this error simply by including the line import Modal from 'react-modal'
Same issue :disappointed:
I also get this error when updating to version 1.7.4. This was not an issue in any version previous to this. I will revert for now.
Shoot looks like I missed some ES2015 in my review of #358.
I'll get a fix up ASAP. Sorry for your builds breaking.
Okay please give 1.7.5 a shot :)
Works great, thank you!
Hmm, my bad. I've forget to remove the 'export' syntax when I moved the PR from master to v1. See #358. (Thanks)
Most helpful comment
Shoot looks like I missed some ES2015 in my review of #358.
I'll get a fix up ASAP. Sorry for your builds breaking.