My app is serving a rendered ejs template as html.
Inside my html there is
<script type="module" src="test.ts"></script>
<script type="module" src="test.ts"></script>
how does my app now return the typescript as javascript?
I just get this error:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "video/mp2t". Strict MIME type checking is enforced for module scripts per HTML spec.
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "video/mp2t". Strict MIME type checking is enforced for module scripts per HTML spec.
Im pretty new to deno and ts in general, so bear with me :)