;Hi there.
I was looking for installing Morphsvg to React.
I install GSAP with yarn add gsap.
But I won't able to import that.
When I open all.js in gsap root folder, I saw something wired!
// bonus tools
/*
import DrawSVGPlugin from "./DrawSVGPlugin.js";
import MorphSVGPlugin from "./MorphSVGPlugin.js";
import Physics2DPlugin from "./Physics2DPlugin.js";
import PhysicsPropsPlugin from "./PhysicsPropsPlugin.js";
import ScrambleTextPlugin from "./ScrambleTextPlugin.js";
import ThrowPropsPlugin from "./ThrowPropsPlugin.js";
import GSDevTools from "./GSDevTools.js";
import SplitText from "./SplitText.js";
import CustomBounce from "./CustomBounce.js";
import CustomEase from "./CustomEase.js";
import CustomWiggle from "./CustomWiggle.js";
export {
DrawSVGPlugin,
MorphSVGPlugin,
Physics2DPlugin,
PhysicsPropsPlugin,
ScrambleTextPlugin,
ThrowPropsPlugin,
GSDevTools,
SplitText,
CustomBounce,
CustomEase,
CustomWiggle
}
*/
These codes commented and MorphSVGPlugin is commented too! Why?!
Please edit this block. I can't deploy my app for other developers. cause they aren't able to access gsap MorphSVGPlugin.