fix previews

This commit is contained in:
konnorrogers
2023-06-21 11:09:47 -04:00
parent 238d1bcb58
commit ecdaf728a1

View File

@@ -1,4 +1,4 @@
function run () {
function run() {
function convertModuleLinks(html) {
html = html
.replace(/@shoelace-style\/shoelace/g, `https://cdn.skypack.dev/@shoelace-style/shoelace@${shoelaceVersion}`)
@@ -245,5 +245,5 @@ function run () {
});
}
run()
document.addEventListener('turbo:load', run)
run();
document.addEventListener('turbo:load', run);