chore: cleanup theme stuff
This commit is contained in:
parent
82a876da4d
commit
f89b83a6d7
4 changed files with 10 additions and 106 deletions
|
|
@ -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>")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue