Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec

@LXTKay When you run your build locally, what do you see in the /dist/index.html file?

When I run your build:

image

I see the following in dist/index.html:

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Blog Frontend</title>
    <script type="module" crossorigin src="/assets/index-BCGdcLZB.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-DLK3Qp-W.css">
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>

I’d expect the build on Netlify to be the same.

That said, this looks like it’d probably be the culprit here: