I have an angular library named common-sec in which created assets folder manually under the lib folder. I used images from the assets folder in my library component named "login".
I have used a login component from the common-sec library in my main angular app.
By running the main app with ng serve, library images of assets folder loading perfectly. But when I build my main app using ng build --prod --base-href /prefix/, none of the library images rendered.
I see it tries to request images at localhost:4200/assets/image.png (return 404) But I see images are available at localhost:4200/prefix/assets/image.png
Is it a bug or it's known issue in angular-cli?