Feature: offline: more features to be able to work fully offline

This commit is contained in:
Pieter Vander Vennet 2025-08-03 16:35:38 +02:00
parent 825efdee34
commit 06aa8a3406
23 changed files with 203 additions and 60 deletions

View file

@ -1,7 +1,7 @@
import * as fs from "fs"
import Script from "./Script"
function genImages(dryrun = false) {
function genImages() {
console.log("Generating images")
const dir = fs.readdirSync("./assets/svg")
for (const path of dir) {
@ -64,7 +64,7 @@ class GenerateIncludedImages extends Script {
super("Converts all images from assets/svg into svelte-classes.")
}
async main(args: string[]): Promise<void> {
async main(): Promise<void> {
genImages()
}
}