Closed mifi closed 2 years ago
Thank you @mifi for the detailed investigation, there was indeed an issue in the build config.
:tada: This issue has been resolved in version 5.0.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
5.0.1
Not sure why it's happening, because looking at the source it seems correct: https://github.com/sweetalert2/sweetalert2-react-content/blob/aa8d14b6a9c8506235771e6dec07635551fae632/src/index.js#L2
however looking at the dist from npm, it seems to be doing it incorrectly, so maybe something went wrong in the build process:
inside
node_modules/sweetalert2-react-content/dist/sweetalert2-react-content.es.js
: