Skip to content

Commit

Permalink
porting importmap to file
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jun 24, 2024
1 parent 99e7c95 commit 284b781
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@
<script src="libs/libs/ammo.wasm.js"></script>
<script src="libs/personal/ascii.js"></script>
<script async src="libs/shims/modules.js"></script>
<script type="importmap">
{
"imports": {
"three": "./libs/three/three.module.js",
"three/addons/": "./libs/"
}
}
</script>
<script type="importmap" src="libs/personal/importmap.json"></script>
<script type="module" src="libs/personal/animation.js"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions libs/personal/importmap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"imports": {
"three": "./libs/three/three.module.js",
"three/addons/": "./libs/"
}
}

0 comments on commit 284b781

Please sign in to comment.