I have zero experience with Ionic but I think we might be overcomplicating things here with all the imports and such.   I mean, the DrawSVG plugin doesn't need compilation and GSAP doesn't need to be told to initialise it so, as an attempted patch-up solution, how about having it bundled at the begining of your main JS code? You can use the minified version you said you found for that.   So it's available gloablly and you wouldn't need to import it on any of your module files