Hello everyone. I am fairly new to this and not great at JS (still learning). I have a setup that I created using ScrollTrigger and DrawSVG that works perfectly fine in Codepen (linked), but then dies in the production environment. I read everywhere about installing DrawSVG via npm, but I have no idea how to accomplish that and I don't even know if I can inside of BigCommerce. I had to place the JS inside of the HTML in order to get it to read (appears to be a BigCommerce thing). I also tried using each folder in the gsap download to get it to pull in (esm, src, umd). I am lost as to how to get DrawSVG to function. If I remove the ( gsap.registerPlugin(DrawSVGPlugin);) it works perfect, minus the DrawSVG aspect.
Here is the production page that I am working on: https://sxthelement.com/ektest/
The code for the page is attached as well.
Thank you for the help!
ek1pro-htmlPlusJS.html