summaryrefslogtreecommitdiff
path: root/client/simple/tools/plg.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/simple/tools/plg.ts')
-rw-r--r--client/simple/tools/plg.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/simple/tools/plg.ts b/client/simple/tools/plg.ts
index 2db891d4f..20c2c4e64 100644
--- a/client/simple/tools/plg.ts
+++ b/client/simple/tools/plg.ts
@@ -20,8 +20,8 @@ export const plg_svg2png = (items: Src2Dest[]): Plugin => {
return {
name: "searxng-simple-svg2png",
apply: "build",
- async writeBundle() {
- await svg2png(items);
+ writeBundle: () => {
+ svg2png(items);
}
};
};
@@ -36,7 +36,7 @@ export const plg_svg2svg = (items: Src2Dest[], svgo_opts: Config): Plugin => {
return {
name: "searxng-simple-svg2svg",
apply: "build",
- writeBundle() {
+ writeBundle: () => {
svg2svg(items, svgo_opts);
}
};