-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Fixed editor not loading on Chrome 129.0.6668.100 due to impo…
…rt maps definitions location.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,19 @@ | |
|
||
<link rel="stylesheet" href="css/main.css"> | ||
|
||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "../build/three.module.js", | ||
"three/addons/": "../examples/jsm/", | ||
|
||
"three/examples/": "../examples/", | ||
"three-gpu-pathtracer": "https://cdn.jsdelivr.net/npm/[email protected]/build/index.module.js", | ||
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/[email protected]/build/index.module.js" | ||
} | ||
} | ||
</script> | ||
|
||
<script src="../examples/jsm/libs/draco/draco_encoder.js"></script> | ||
|
||
<link rel="stylesheet" href="js/libs/codemirror/codemirror.css"> | ||
|
@@ -54,19 +67,6 @@ | |
<script src="js/libs/tern-threejs/threejs.js"></script> | ||
<script src="js/libs/signals.min.js"></script> | ||
|
||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "../build/three.module.js", | ||
"three/addons/": "../examples/jsm/", | ||
|
||
"three/examples/": "../examples/", | ||
"three-gpu-pathtracer": "https://cdn.jsdelivr.net/npm/[email protected]/build/index.module.js", | ||
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/[email protected]/build/index.module.js" | ||
} | ||
} | ||
</script> | ||
|
||
<script type="module"> | ||
|
||
import * as THREE from 'three'; | ||
|