Fix import paths. sparkjs-dev to sparkjsdev

This commit is contained in:
Diego Marcos Segura
2025-06-10 13:41:16 -07:00
parent 4c08a8db6d
commit 6ec3eb5f38
15 changed files with 66 additions and 28 deletions
+2 -2
View File
@@ -25,13 +25,13 @@
"imports": {
"three": "/examples/js/vendor/three/build/three.module.js",
"three/addons/": "/examples/js/vendor/three/examples/jsm/",
"@sparkjs-dev/spark": "/dist/spark.module.js"
"@sparkjsdev/spark": "/dist/spark.module.js"
}
}
</script>
<script type="module">
import * as THREE from "three";
import { SplatMesh } from "@sparkjs-dev/spark";
import { SplatMesh } from "@sparkjsdev/spark";
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
import { EXRLoader } from "three/addons/loaders/EXRLoader.js";
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';