I can't figure out how to import TweenLite when using the npm installed version of gsap with Webpack. I get that the default import from gsap is TweenMax but ideally I would like to do the following:
import { TweenLite } from 'gsap';
However that doesn't work. Weirdly this works:
import { TimelineLite } from 'gsap';
All I'm wanting to achieve is to set TweenLite.defaultOverwrite. I'm otherwise only needing TimelineLite. I'm using 1.18.5.
I can't figure out how to import TweenLite when using the npm installed version of gsap with Webpack. I get that the default import from gsap is TweenMax but ideally I would like to do the following:
import { TweenLite } from 'gsap';
However that doesn't work. Weirdly this works:
import { TimelineLite } from 'gsap';
All I'm wanting to achieve is to set
TweenLite.defaultOverwrite
. I'm otherwise only needingTimelineLite
. I'm using 1.18.5.