Hey there,
I'm developing a small, but media-heavy web application (a GSAP powered interactive game), and since I'm bound to tight restrictions regarding file size, I'm using Vite to 1.) write slick and modern module-based code (ESM, or ECMAScript Modules is the keyword here) and to 2.) tightly pack my code.
Naturally, I want to provide GSAP as an external dependency (did I mention tight file size restrictions?), but I can't find an ESM-suited CDN link for GSAP and the Premium modules (how I'll be able to use these premium modules without exposing my personal license is a wholly different enchilada).
Are there any? I have scoured the https://cdn.jsdelivr.net/npm/gsap@3.12.2/dist/ directory a little, but these all seem to be "normal" (i.e. require- instead of import-based) CommonJS libs.
Thanks in advance
C.
P.S.: I can't provide a CodePen illustrating the problem because referring to GSAP works differently there (via the require syntax).