Jump to content
Search Community

Adding plugin dependency

Guest VonJungingen

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

Guest VonJungingen
Posted

Hi there - Quick question. While I can pull the TweenMax with bower I'm kinda stumped on how to configure my yeoman project to add the ScrollTo plugin as dependency. Anyone?

Posted

I've never made a yeoman project before, but that plugin is part of the GreenSock package you get with Bower, so why would you need to add it as a dependency? 

  • Like 1
Guest VonJungingen
Posted

Ok so we use automatic deployment on our projects. So lets say I want to have TweenMax with ScrollTo plugin during automatic deploy grunt-build is called which concatenates all JS files and update sources in your project. Yeoman uses bower to import the sources but the bower for TweenMax have only TweenMax as a main file and no dependencies there. Ok I could edit that but we deploy from the repository so every time build is made clean TweenMax bower is downloaded. I thought there would be something like bower gsap-plugin-scrollTo this way the plugin would be added automatically to the project but it doesn't.

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.
×
×
  • Create New...