|
|
|
|
|
by aylmao
2365 days ago
|
|
This looks like fun! I've been meaning to experiment with some WASM, but none of my ideas warrant investing time setting things up just yet, so I haven't. This will come in handy. @lastmjs: does it support defining the script MIME? I'm thinking something like: <script id="myGeeks" type="text/tsx">
// ... script here
</script>
This really would be a great addition if not, and help drive the narrative that this brings simplicity back to that of "the old days" of web development (: |
|
In the case above, you would need to say type="module", because you are importing a module even if it is tsx. But, you should be able to set the MIME type for .tsx files with a custom header file