Closed CaelanStewart closed 4 years ago
Same problem here. Should we still be using gsap/all for our imports? (I'm importing into Angular 8)
@billdwhite - yeah I wondered as much, surprising how this would not have been caught before release, unless they use a different mechanism for import.
Do you get the same error when you import from "gsap" (for ES modules) or "gsap/dist/gsap" (for UMD/CommonJS)?
Our install helper shows the syntax that I mean.
I had my module set to 'esnext'; changing all of the 'gsap/all' references to 'gsap' seems to fix the issue.
Yeah, sorry about that folks - silly mistake on my part. I'll have a 3.1.1 patch out pretty soon to resolve the export issue in the "all" file.
Should be fixed in the latest push. Again, please accept my apologies for the oversight.
Version:
3.1.0
When I import from
gsap/all
.Looking at
gsap/all.js
:There is this line:
However, in
./gsap-core.js
there exists no such symbolTweenMaxWithCSS
.This does not prevent a build since only a warning is issued.
Might cause problems for some build configurations though.