I have an SPA built using create-react-app and wish to have a robots.txt like this:
create-react-app
http://example.com/robots.txt
I see on this pa
Just add the following rules to the "rewrites" section in firebase.json
firebase.json
"rewrites": [ { "source": "/robots.txt", "destination": "/robots.txt" }, { "source": "**", "destination": "/index.html" } ]