Skip to content

Instantly share code, notes, and snippets.

@sethyuan
Last active December 25, 2015 04:28
Show Gist options
  • Save sethyuan/0511928417d1a38f0c36 to your computer and use it in GitHub Desktop.
Save sethyuan/0511928417d1a38f0c36 to your computer and use it in GitHub Desktop.
Using GSAP with Webpack
// If you're using TimelineLite, use below code to extract the GreenSockGlobals.
import {TimelineLite, Power1} from "imports?define=>false!exports?_gsScope.GreenSockGlobals!gsap/src/uncompressed/TimelineLite";
import "imports?define=>false!gsap/src/uncompressed/plugins/CSSPlugin";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment