add site-wide JS caching through import maps

This commit is contained in:
りき萌 2024-07-19 20:05:17 +02:00
parent f3aee8f41a
commit 10ccb250c1
15 changed files with 169 additions and 48 deletions

View file

@ -1,5 +1,5 @@
%% title = "back porch"
scripts = ["components/chat.js"]
scripts = ["treehouse/components/chat.js"]
styles = ["components/chat.css"]
% template = true

View file

@ -1,7 +1,7 @@
%% title = "tairu - an interactive exploration of 2D autotiling techniques"
scripts = [
"components/literate-programming.js",
"vendor/codejar.js",
"treehouse/components/literate-programming.js",
"treehouse/vendor/codejar.js",
]
styles = ["page/tairu.css"]

View file

@ -1,5 +1,5 @@
%% title = "testing ground for (chit)chats"
scripts = ["components/chat.js"]
scripts = ["treehouse/components/chat.js"]
styles = ["components/chat.css"]
% id = "01HSR695VNDXRGPC3XCHS3A61V"

View file

@ -1,5 +1,5 @@
%% title = "the treehouse sandbox"
scripts = ["components/literate-programming.js"]
scripts = ["treehouse/components/literate-programming.js"]
% id = "01HPWJB4Y5ST6AEK9VDYNS865P"
- the sandbox is a framework for playing around with code