I had been through many topics trying to use DrawSVGPlugin and MorphSVGPlugin bonus plugins in Angular 8.0 with no results. After reading three days a bunch of questions related with it, it worked after doing this.
1. First import the plugins files in the nodes_modules/gsap folder.
2.Import the script in your component.ts file as import DrawSVGPlugin from 'gsap/DrawSVGPlugin';
3. add "scripts": [
"node_modules/gsap/DrawSVGPlugin.js"] in the angular.json file.
And that's it, no need for to add const plugins=[DrawSVGPlugin];