Good afternoon,
When I am in development mode everything works fine. But in build/production I get this:
Invalid property scrollTrigger set to Objectend: "bottom bottom"scrub: 2start: "-50px top"trigger: ".scrollDist"__proto__: Object Missing plugin? gsap.registerPlugin()
This is my code I have written:
gsap.timeline({scrollTrigger:{trigger:'.scrollDist', start:'-70px top', end:'bottom bottom', scrub:2}})
Not too sure why it runs fine in dev but not in build?
Many thanks
Joel