Hi, if I have the following example script tag in my html file <script src="js/foo.js" type="module"></script>
and foo.js contains an import, such as import { Bar } from "js/bar.js";
I get the following error:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
Disregard, looks like I may have just supplied the wrong path to the JS file, as I see in the response when requesting that resource, that I get the following message in the body: There is no content at...
Hi, if I have the following example script tag in my html file
<script src="js/foo.js" type="module"></script>
andfoo.js
contains an import, such asimport { Bar } from "js/bar.js";
I get the following error: