Adding Splide plugins to slideshow section

Hi, I’m trying to add both the Auto Scroll and Intersection extensions from Splide to the slideshow section and keep getting errors. I’ve added the files via cdn in the head before theme.js and then adding the extensions on mount like below where the slideshow section is registered in theme.js.

this.splideContainer.mount( window.splide.Extensions );

This returns a whole mess of uncaught reference errors and Alpine errors though. What’s the correct way to import these extensions? Or do I need to update Splide to latest version to use extensions maybe?

Thanks!