Search the Community
Showing results for tags 'cdn link'.
-
Having a difficult time with placing gsap plugins into a src/gsap folder, JavaScript should be here because Astro framework can bundle JavaScript for performance benefits, have benefit of tree-shaking, code-split, and will be optimized and processed by Vite, Astro's build system. But this is causing lots of errors vs a public/gsap folder where it is out in the open. I am not doing it via npm pkg, w. the paid plugins I have that is a sh-tshow, and I have to still put them somewhere. where does this go? the Ai's are split on where. thx
- 10 replies
-
- astro
- typescript
-
(and 6 more)
Tagged with:
-
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/[email protected]/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).
-
Hello, I am beginner in Green sock animation. I got the CDN link for TweenMax.js file. Bult i would like to know where i can get the other JS file CDN link ? (like: TimelineMax.min.js,TweenLite.min.js,TimelineLite.min.js..plugins, easing ). Thanks, Jitu