How to Load an External JS File in Gatsby

In modern JavaScript web development workflows, it’s common to install JavaScript via npm packages. However, there are situations where you may need to include an external JavaScript file, which can be a bit tricky with modern tools. In this blog post, we’ll explore how to include an external JavaScript file in a Gatsby site. The Challenge Let’s say we want to embed a video from Wistia in our Gatsby site. Wistia provides an HTML snippet to embed the video....