fix(rnetwork): add missing importmap entry for three/examples/jsm/
3d-force-graph imports from three/examples/jsm/controls/DragControls.js but only three/addons/ was mapped. Add the three/examples/jsm/ prefix so the browser can resolve it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
36931b2d30
commit
7a771f53c9
|
|
@ -18,6 +18,7 @@ const GRAPH3D_IMPORTMAP = `<script type="importmap">
|
|||
"imports": {
|
||||
"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://cdn.jsdelivr.net/npm/3d-force-graph@1/dist/3d-force-graph.mjs"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue