-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using convert with vanilla JS doesn't work #560
Comments
Thanks for reporting this, the issue was a misconfiguration of Babel during the build process, which was causing the global variable used to be |
🎉 This issue has been resolved in version 4.7.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This issue still persists as of v4.13.2. It shows "Uncaught TypeError: convert is not a function" error |
Please see #612 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the unpkg link for this repo and it did not work. I hacked the script to extract the convert, convertMany, and ms functions out (if you're looking to do this just set
e
to an external variable where e.convert is being set.)Maybe I did something wrong but I had to hack it to extract the convert function at all. It doesn't set on the window.
The text was updated successfully, but these errors were encountered: