js 3.0.01: fix 3.0.0 packaging [#347] (#348)

* js 3.0.1; fix 3.0.0 packaging [#347]

* We can't have a .mjs alongside a .js, so rename the IIFE to pmtiles.js and the ES6 module to index.js.
This commit is contained in:
Brandon Liu
2024-02-03 23:01:46 +08:00
committed by GitHub
parent 067347cebb
commit a9977e3385
5 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.css" crossorigin="anonymous">
<script src="https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pmtiles@3.0.0/dist/index.js"></script>
<script src="https://unpkg.com/pmtiles@3.0.1/dist/pmtiles.js"></script>
<style>
body {
margin: 0;