Jump to content
Search Community

Using webpack, TimelineMax has references to TweenLite?

folktrash test
Moderator Tag

Go to solution Solved by folktrash,

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

Using webpack to bundle, I import:

 

import TweenMax from 'javascripts/gsap/TweenMax.min';
import TimelineMax from 'javascripts/gsap/TimelineMax.min';
 
And at build time:
ERROR in ./src/javascripts/gsap/TimelineMax.min.js
Module not found: Error: Cannot resolve module 'TweenLite' in /Users/nvvaughn/Code/play/webpack-css-example/src/javascripts/gsap
 @ ./src/javascripts/gsap/TimelineMax.min.js 290:48-72
I just cloned the repo a two days ago. 
Link to comment
Share on other sites

  • 2 months later...

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...