mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
💄 Fix JS files formatting issues
This commit is contained in:
@@ -255,9 +255,9 @@ const markedOptions = {
|
||||
const text = token.text;
|
||||
return `<a href="${href}" target="${target}">${text}</a>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
marked.use(markedOptions);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user