A note on the utils script (
~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from
`"intl-tel-input/reactWithUtils"`, to include the utils script. Alternatively, if you use the main
`"intl-tel-input/react"` import, then you should couple this with the
`loadUtils` initialisation option - you will need to host the
[utils.js
](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the
`loadUtils` option to that URL, or alternatively just point it to a CDN hosted version e.g.
`"https://cdn.jsdelivr.net/npm/[email protected].2/build/js/utils.js"`.
0 commit comments