fix(rnetwork): lock esm.sh transitive deps with * prefix
esm.sh was resolving three-render-objects@^1.29 to latest 1.x which imports three/webgpu. The * prefix locks transitive dependency versions to those specified in the package's own dependency tree. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4d6e7664a4
commit
14dead3896
|
|
@ -19,7 +19,7 @@ const GRAPH3D_IMPORTMAP = `<script type="importmap">
|
|||
"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.73.4?bundle-deps&external=three"
|
||||
"3d-force-graph": "https://esm.sh/*3d-force-graph@1.73.4?bundle-deps&external=three"
|
||||
}
|
||||
}
|
||||
</script>`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue