Right approach to solve problem with SVG, Image, Fonts and another assets in node_modules + relative paths in CSS files

Hi I would like to ask about discussed topics about assets files in node_modules (images, fonts, svgs, etc.) used in js/css. I found a lot of threads and issues about it, but I do not found any working solution.

Only what is working for me now is manually copy contents (fonts, images…) into public folder, copy css files to client or import and rewrite to absolute paths. Yes, in some cases it’s possible, but does exists any solution in case, when I cannot edit js/css files located in node_modules (with relative paths to the assests files)?

Is it possible for example somehow set the builder to change relative to absolute paths automatically?

…and also is it possible somehow automatically move the assets to public folder during the app building?