fix(rnetwork): pin 3d-force-graph@1.73.4, revert to three.module.js

three.webgpu.js doesn't export legacy utilities like UniformsUtils
needed by Three.js addons. Pin 3d-force-graph to 1.73.4 which
predates the three/webgpu dependency, and use three.module.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-12 02:06:42 -07:00
parent ccf31edcbe
commit 4d6e7664a4
1 changed files with 2 additions and 3 deletions

View File

@ -16,11 +16,10 @@ import { renderLanding } from "./landing";
const GRAPH3D_IMPORTMAP = `<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.169.0/build/three.webgpu.js",
"three/webgpu": "https://cdn.jsdelivr.net/npm/three@0.169.0/build/three.webgpu.js",
"three": "https://cdn.jsdelivr.net/npm/three@0.169.0/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.169.0/examples/jsm/",
"three/examples/jsm/": "https://cdn.jsdelivr.net/npm/three@0.169.0/examples/jsm/",
"3d-force-graph": "https://esm.sh/3d-force-graph@1?bundle-deps&external=three,three/webgpu"
"3d-force-graph": "https://esm.sh/3d-force-graph@1.73.4?bundle-deps&external=three"
}
}
</script>`;