Npm run build does not include three.js dependencies

Thank you, this was the exact solution.

It is also worth noting that the font will not immediately load when hosted given fontLoader.load() runs asynchronously as pointed out here. So while the font is loading, a let introText = null declaration is necessary as noted here.