I am optimizing old web project. I want to combine multiple assets css files into single css file (and minify later). I was trying to do it using gulp + sass. I made a single file but the urls are now wrong because final css file is in different dir.
I am adding image to explain my problem
https://i.stack.imgur.com/Et9CV.png
file: 'CSS_FINAL.CSS' is my merged file, which i want to include to html folder: 'assets' contains multiple folder of assets with their images, js etc. files: 'asset_1.css' and 'asset_2.css' needs to merged to file 'CSS_FINAL.CSS' top black box: file 'CSS_FINAL.CSS' outcome i am seeking. two bottom black boxes: assets css files.
Is there are way to merge those .css files fixing url paths?
Note: i don't want to change any content in assets files.