There's an error while use gsap. Im using React Typescript using vite. This is the error i'm facing right now.
I've used gsap/all to import ScrollTrigger and SrollSmoother, and this error pops up.
Here's my code for importing gsap. ScrollTrigger works perfectly fine but ScrollSmoother keeps making an error