|
@@ -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';
|