Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
// file.php
...
<script src="js/web-components/index.js" type="module"></script>
...