Closed Duality1k closed 1 year ago
hey @KeUnstackDetachProcess, really sorry about that — i'll check this out this week.
hey @KeUnstackDetachProcess, i've changed the import from gsap/dist/ScrollTrigger
to gsap/ScrollTrigger
on v 0.2.0
— can you tried now?
same error in v0.2.0
thanks @liho00 — we seem to have an issue on how GSAP is imported on different environments (cjs vs esm).
i now implemented a fix for our different bundles. can you check? on v 0.2.1
@julianbenegas I installed @bsmnt/scrollytelling: ^0.2.4
, and its working. Thank you for the great library, I am still new and learning of this library, hope able to build great product with this library.
I installed latest gsap and scrollytelling versions, and after 2 hours trying to fix it i figured out the issue relies on scrollytelling side, as its trying to resolve frmo gsap/dist/ScrollTrigger when it should be gsap/ScrollTrigger or gsap/ScrollTrigger.js;
code:
output: