web-cheat/esm.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>ESM EcmaScript Modules</title>
</head>
<body>
<p>Only works on Chromium 90 if you use a local server on localhost. Does not work by opening the HTML files directly.</p>
<p>Expected outcome: "asdfqwer" should show after this line:</p>
</body>
<script type="module">
import { my_export_1 } from './esm1.js';
import { my_export_2 } from './esm2.js';
const element = document.createElement('div');
element.innerHTML = my_export_1 + my_export_2;
document.body.appendChild(element);
</script>
</html>