Hacker News new | ask | show | jobs
by mdaniel 755 days ago
I think that's the first time I've seen <script type=module> in the wild

  <script type="module">
  import { runDocpageEntrypoint } from "/build/index.3bb1c1f7.mjs";
  runDocpageEntrypoint("Production", "");
  </script>
But, if I may make a suggestion, it would be so much nicer if those <code> blocks had one of the many JS syntax highlighter libraries applied to them