Jump to content
Search Community

benjeske

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

benjeske's Achievements

1

Reputation

  1. benjeske

    NextJS and gsap

    Can confirm, I updated the gsap import as well to the /dist/ directory and it's working. Tested successfully locally and in my production environment.
  2. benjeske

    NextJS and gsap

    import ScrollTrigger from 'gsap/ScrollTrigger'; ^ was what I was using This was exactly the problem, thank you!!
  3. benjeske

    NextJS and gsap

    Hi I'm trying to load gsap into my nextjs project. I've got it nearly completed but I am getting this error from the package: SyntaxError: Unexpected token 'export' /node_modules/gsap/ScrollTrigger.js:534 line 534: export var ScrollTrigger = /*#__PURE__*/function () { Any advice for getting this to work? I've been searching but haven't been able to find any solutions to this problem.
×
×
  • Create New...