Browse Source

Add preload links

pull/26/head
Tulir Asokan 4 years ago
parent
commit
89861f8a2c
  1. 9
      web/index.html

9
web/index.html

@ -4,11 +4,18 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Maunium sticker picker</title>
<link rel="modulepreload" href="./widget-api.js"/>
<link rel="modulepreload" href="./frequently-used.js"/>
<link rel="modulepreload" href="./spinner.js"/>
<link rel="modulepreload" href="https://unpkg.com/htm/preact/index.mjs?module"/>
<link rel="preload" href="packs/index.json" as="fetch" type="application/json" crossorigin/>
<link rel="stylesheet" href="index.css"/>
<link rel="stylesheet" href="spinner.css"/>
<script src="index.js" type="module"></script>
</head>
<body>
<noscript>This sticker picker requires JavaScript</noscript>
<script src="index.js" type="module"></script>
</body>
</html>
Loading…
Cancel
Save