Hi, I am working on Next JS. and bought the club membership. This plugin (Scroll Trigger) is working fine on my local host but while making build/production I am facing these errors.
First I have imported the plugins like this ( import {ScrollTrigger} from "gsap/dist/ScrollTrigger") i was working fine on local host but give errors on production build.
I have change this to ( import {ScrollTrigger} from "gsap/ScrollTrigger"), Still getting the error.
I've also tried some online solutions and Green Sock Forum solution but I haven't worked for me.