This vendors BufferGeometryUtils, rewires GLTFLoader imports to local paths, and adds an import map fallback so bare three specifiers resolve correctly in browser. Made-with: Cursor
This commit is contained in:
@@ -138,6 +138,14 @@
|
||||
</div>
|
||||
|
||||
<script src="./vendor/maplibre/maplibre-gl.js"></script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"three": "./vendor/three/three.module.js",
|
||||
"three/": "./vendor/three/"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="module" src="./maplibre-demo.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user