I am running Angular 4 using Angular CLI and I am looking for a way to copy files from a component directory to the assets folder at run time.
So given the following folder structure:
/component my.component.* /images image1.png image2.png When I run ng serve or ng build I would like to have these files copied to the assets folder to be served up and available in the browser.
Is there a way to accomplish this? I've been searching for quite a while and am yet to find a solution.