Clean up dependencies
All checks were successful
Build and Push / build (push) Successful in 18s

This commit is contained in:
2026-02-16 15:12:59 -05:00
parent d181f77fb2
commit 2f15523a55
14941 changed files with 0 additions and 2078483 deletions

View File

@@ -1,18 +0,0 @@
import { markHTMLString } from "../escape.js";
async function renderScript(result, id) {
if (result._metadata.renderedScripts.has(id)) return;
result._metadata.renderedScripts.add(id);
const inlined = result.inlinedScripts.get(id);
if (inlined != null) {
if (inlined) {
return markHTMLString(`<script type="module">${inlined}</script>`);
} else {
return "";
}
}
const resolved = await result.resolve(id);
return markHTMLString(`<script type="module" src="${resolved}"></script>`);
}
export {
renderScript
};