r/learnreactjs • u/Col_Parity • Nov 07 '22
Finding import reference to external CSS
I'm struggling with a React frontend that is referencing a CSS file from another host. I need to change the referenced file on that host but I cannot find where this import is occurring. Does anyone have any hints on where the prior dev could have put this reference? I've looked over the config/webpack.config.js and the jsconfig.json, package.json, but I can't seem to find where this import is happening.
3
Upvotes
View all comments
Show parent comment
2
u/Col_Parity Nov 08 '22
I'll need to steal a copy from the owner's space to put it into VScode but I don't think much can hide from a "find . -type f -exec grep -H cmshostname {}" that should look at every file including hidden ones. Since I get called when the owner's can't figure it out, I'm the go-to guy...