chore: cleanup theme stuff

This commit is contained in:
Adam 2025-12-28 10:14:30 -06:00
commit f89b83a6d7
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
4 changed files with 10 additions and 106 deletions

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>")
}