2
0
Michael Herzog 2 жил өмнө
parent
commit
7fe4cf0718

+ 9 - 0
examples/webgl_worker_offscreencanvas.html

@@ -68,6 +68,15 @@
 		<!-- Remove this when import maps will be widely supported -->
 		<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
 
+		<script type="importmap">
+			{
+				"imports": {
+					"three": "../build/three.module.js",
+					"three/addons/": "./jsm/"
+				}
+			}
+		</script>
+
 		<script type="module">
 
 			import initJank from 'three/addons/offscreen/jank.js';