forked from single-spa/import-map-overrides
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver-map.html
More file actions
32 lines (32 loc) · 902 Bytes
/
server-map.html
File metadata and controls
32 lines (32 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Import Map Overrides test</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="importmap-type"
content="systemjs-importmap"
server-cookie
server-only
/>
<script type="systemjs-importmap">
{
"imports": {
"foo": "./foo.js"
}
}
</script>
<script src="/import-map-overrides.js"></script>
<script src="https://cdn.jsdelivr.net/npm/systemjs/dist/system.js"></script>
</head>
<body>
<import-map-overrides-full dev-libs></import-map-overrides-full>
<ul>
<li><a href="index.html">With embedded map</a></li>
<li><a href="no-map.html">Without embedded map</a></li>
<li>Server map (current)</li>
</ul>
</body>
</html>