When I run build command I will get a build folder that contains minified JS, CSS files. When I deploy code in production my CSS will load from build folders.
Problem: I don't want my build.css to load it from the same domain in production, instead wanted to create CDN links then call it. This process helps in fetching API calls fast instead of depending on a single Domain which will behave as concurrent API Calls.
Top comments (1)
Not familiar with this but CRA (create-react-app) has a "public/index.html", in which you can specify the CSS link. I am not familiar with dynamically adding it though.