💄 Fix JS files formatting issues

This commit is contained in:
Andrey Antukh
2025-08-28 17:53:07 +02:00
parent e94abad3eb
commit dede2a8f8e
14 changed files with 93 additions and 74 deletions

View File

@@ -255,9 +255,9 @@ const markedOptions = {
const text = token.text;
return `<a href="${href}" target="${target}">${text}</a>`;
}
}
}
}
},
},
};
marked.use(markedOptions);

View File

@@ -79,15 +79,11 @@ h.watch("translations", null, async function (path) {
});
log.info("watch: assets (~)");
h.watch(
["resources/images", "resources/fonts"],
null,
async function (path) {
log.info("changed:", path);
await h.compileSvgSprites();
await h.copyAssets();
await h.compileTemplates();
},
);
h.watch(["resources/images", "resources/fonts"], null, async function (path) {
log.info("changed:", path);
await h.compileSvgSprites();
await h.copyAssets();
await h.compileTemplates();
});
worker.terminate();

View File

@@ -78,16 +78,12 @@ h.watch("translations", null, async function (path) {
});
log.info("watch: assets (~)");
h.watch(
["resources/images", "resources/fonts"],
null,
async function (path) {
log.info("changed:", path);
await h.compileSvgSprites();
await h.copyAssets();
await h.compileTemplates();
},
);
h.watch(["resources/images", "resources/fonts"], null, async function (path) {
log.info("changed:", path);
await h.compileSvgSprites();
await h.copyAssets();
await h.compileTemplates();
});
log.info("watch: wasm playground (~)");
h.watch(["resources/wasm-playground"], null, async function (path) {