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:
parent
ccf31edcbe
commit
4d6e7664a4
|
|
@ -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>`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue