Fix local Three.js module resolution in MapLibre demo.
CI / test (push) Successful in 4s

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:
2026-03-02 22:45:20 +00:00
parent e1107256e8
commit 800ca832e7
3 changed files with 1382 additions and 1 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ import {
SRGBColorSpace,
InstancedBufferAttribute
} from './three.module.js';
import { toTrianglesDrawMode } from '../utils/BufferGeometryUtils.js';
import { toTrianglesDrawMode } from './utils/BufferGeometryUtils.js';
class GLTFLoader extends Loader {