feat: bundle browser dependencies locally
This commit is contained in:
1 parent
0ea9e4310f
commit
5e10be463e
8 files changed
+95
-16
No files matched your search
@@ -7,12 +7,7 @@ export function htmlPage(): string {
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>mapix</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
|
||||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
|
||||
crossorigin=""
|
||||
/>
|
||||
<link rel="stylesheet" href="/vendor/leaflet/leaflet.css" />
|
||||
<style>
|
||||
${APP_STYLES}
|
||||
</style>
|
||||
@@ -153,7 +148,7 @@ ${APP_STYLES}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
|
||||
<script src="/vendor/leaflet/leaflet.js"></script>
|
||||
<script type="module" src="/client/app.js"></script>
|
||||
</body>
|
||||
</html>`;
|
||||
|
||||
Reference in new issue
Block a user