wmr
wmr copied to clipboard
Support inline module scripts in HTML
It would be nice to make this work:
<!DOCTYPE html>
<body>
<script type="module">
import { h, render } from 'preact';
render(h('h1', null, 'hello world'), document.body);
</script>
</body>