How To Use ScrollMagic with GSAP and Webpack
In order to use ScrollMagic with GSAP , you need to load the animation.gsap.js plugin. With Webpack you would do something like this to accomplish that (assuming you use the CommonJS syntax and installed everything with npm): var TweenMax = require('gsap'); var ScrollMagic = require('scrollmagic'); require('ScrollMagicGSAP'); To make sure that this actually works, you have to add an alias to your Webpack configuration, so that Webpack knows where the plugin lives. resolve: { alias: { 'ScrollMagicGSAP': 'scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap' } } Unfortunately ,