Thanks Blake,
My problem is with setting up gsap in webpack in a node environment, without using hackery I don't think I should be doing. gsap react enhancer needs gsap to work. I have read a few posts on this, and my newbieness handicaps my understanding & attempts at making them work. I was hoping something could be done in webpack that just makes it so I can import TimelineMax for example in the component that's using it.
So to be clear:
- I have it working by importing gsap into the entry page where webpack does its magic.
- I don't know why it works or should that even be done.
- I am hoping someone can answer how or if I even can set this up in webpack as a loader or something and the best way to do it.
React GSAP Enhancer works perfectly by the way for any other react developers out there (: