Jump to content


How to use GSAP with Bower

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I have installed gsap using bower and then used gulp with mainBowerFiles to compile it into my vendors.js minified file.  However when I try to write any GSAP code, it simply says that TweenLite (or TweenMax) is not defined.  Is there any help to be had in using GSAP in this way? 

Link to comment
Share on other sites

I'm not very familiar with Bower, and I understand it's generally falling out of favor with the JS community. I do know that folks have used GSAP with bower successfully for sure, though. Have you thought of using an NPM-based solution? Perhaps webpack? That's not mandatory, of course. 


It's very difficult to troubleshoot your issue blind (especially since I'm not at all familiar with bower). I wish I had a better answer for you. Sounds like a configuration issue on your end, but I'm just not sure what to tell you to fix it. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.