I don't know why it happens, but it happens with few other plugins. If you console log DrawSVGPlugin before using it or just execute 'DrawSVGPlugin;' statement, drawSVG works. By executing it maybe just makes those functions available for you to use.   But if you import it directly as follows, it works without needing to execute that statement.   import "gsap/DrawSVGPlugin";    
    • Like