This is fine as long as you don't care about running your app as a Progressive Web App or PWA.
However! We believe that all apps should be PWAs, so we've configured this project to use the standard sw.js filename.
You'll notice a function in ./src/components/messaging.js named registerServiceWorker
This function is will register /sw.js and then, once that's done, tell messaging to use /sw.js instead of firebase-messaging-sw.js.
You can only have one service worker per page. This doesn't work any other way. Trust us. We've tried.
Yes, you can add all of the service worker functionality that you like into firebase-messaging-sw.js and let Firebase Messaging register that file automatically.
However, this automatic registration will not allow your users to install your app to their homescreen as a PWA... which totally defeats the purpose of a PWA.