Skip to content

Commit

Permalink
porting importmap to html
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jun 25, 2024
1 parent 843955d commit 150cdb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@
<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" src="libs/personal/importmap.json"></script>
<script type="importmap">
{
"imports": {
"three": "./libs/three/three.module.js",
"three/addons/": "./libs/"
}
}
</script>
<script type="module" src="libs/personal/animation.js"></script>
</body>
</html>
6 changes: 0 additions & 6 deletions libs/personal/importmap.json

This file was deleted.

0 comments on commit 150cdb0

Please sign in to comment.