SVGMorph import showing "SyntaxError: Cannot use import statement outside a module" on React in GSAP Posted July 13, 2020 I am getting "SyntaxError: Cannot use import statement outside a module" error when trying to use MorphSVG plugin. I am attaching a screenshot of my import and the error I am getting. Thanks in advanced!
SVGMorph import showing "SyntaxError: Cannot use import statement outside a module" on React
in GSAP
Posted
I am getting "SyntaxError: Cannot use import statement outside a module" error when trying to use MorphSVG plugin.
I am attaching a screenshot of my import and the error I am getting.
Thanks in advanced!