title: MSW: Failed to register a ServiceWorker for scope with script The script has an unsupported MIME type ('text/html')
body: <p>I am working on a react app using MSW. Everything was cool until I deployed my app to Github pages.</p>
  <p>This is an error I get:</p>
  <p><strong>Uncaught (in promise) Error: [MSW] Failed to register a Service Worker for scope ('https://myprofile.github.io/') with script ('https://myprofile.github.io/mockServiceWorker.js'): Service Worker script does not exist at the given path.</strong></p>
  <p>homepage in package.json:</p>
  <p><a href="http://myprofile.github.io/reponame/" rel="nofollow noreferrer">http://myprofile.github.io/reponame/</a></p>