Skip to content

Commit e93575a

Browse files
committed
browser importmap: point "irclog-api" -> "./dist/index.js"
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap
1 parent c842105 commit e93575a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: playground/index.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Playground</title>
88
<link rel="icon" type="image/png" href="./favicon.png">
9-
<!--script src="https://unpkg.com/[email protected]"></script-->
109
<script src="https://www.typescriptlang.org/js/vs.loader.js"></script>
1110
<script src="./index.js" defer></script>
11+
<script type="importmap">
12+
{
13+
"imports": {
14+
"irclog-api": "./dist/index.js"
15+
}
16+
}
17+
</script>
18+
1219
<style>
1320
body {
1421
overflow: hidden;

0 commit comments

Comments
 (0)