chore: cleanup theme stuff

This commit is contained in:
Adam
2025-12-28 10:14:30 -06:00
parent bdfb6921aa
commit d9312302c0
4 changed files with 10 additions and 106 deletions
-16
View File
@@ -1,16 +0,0 @@
/**
* Generates the theme preload script content.
* Run this to get the script that should be embedded in index.html.
*/
import { generatePreloadScript, generatePreloadScriptFormatted } from "../src/theme/preload"
const formatted = process.argv.includes("--formatted")
if (formatted) {
console.log("<script>")
console.log(generatePreloadScriptFormatted())
console.log("</script>")
} else {
console.log("<script>" + generatePreloadScript() + "</script>")
}