Closed joepagan closed 6 years ago
Indeed, thanks for sharing this, @joepagan. It's a tricky issue because technically you don't need TweenMax in order to use MorphSVGPlugin/DrawSVGPlugin - TweenLite and CSSPlugin are adequate. So I didn't want to force a TweenMax dependency. But yeah, we're working on a more ES6-ified version that should smooth out these things better in the future.
Thanks for being a longtime user and supporter! Let us know if you need anything else at all. Happy tweening!
This should be resolved in 1.20.5 due to the ES module structuring. Let us know if not, though, and we'd be happy to take a peek.
Hey,
Thank you for GSAP, long time user, got a premium license & all.
Been using MorphSVG & DrawSVG plugins, though when importing them, it appears to add TweenLite to my
vendors.chunk.js
bundle, despite me never including it anywhere.Investigating the files reveals that it is
require
inggsap/TweenLite
at the bottom of each. I appreciate that you probably know about this already, and you may address this in the future.Though for anyone else in the mean time I altered these lines to reference TweenMax & TweenLite was no longer included like so.