I am working on reactjs project.I am facing one issue regarding performance .Example I am using a external stylesheet https://xyx/abc.css.So Added in HTML head tag like that <link href="..url"/>. Now My issue is this is huge file or large number of css class are there , but I am using only few classes let example 10.So to improve the performance I downloaded this css file locally in my project inside css directory and using webpack I remove the unused file.
Now the problem is that huge external css file update in a week or 2 week regularly.So if Downloaded that file locally I will not get updated code of css file. so it is manual work to download css file after 2 week.
is there any better approach to purge css or remove unused css from external sheet without saving the file locally.
Can you please tell approach what to do ?