chore(webpack): fix config syntax

This commit is contained in:
Sarah Vaupel 2024-01-07 18:22:37 +01:00
parent eba0877349
commit 37e7dc4150

View File

@ -202,7 +202,7 @@ async function webpackConfig() {
console.error(e); console.error(e);
} }
/* if (faviconApiVersion) { if (faviconApiVersion) {
cacheHash.update(faviconApiVersion); cacheHash.update(faviconApiVersion);
} }
const versionDigest = cacheHash.digest('hex'); const versionDigest = cacheHash.digest('hex');
@ -230,7 +230,7 @@ async function webpackConfig() {
] ]
}) })
]; ];
} else { */ } else {
// const tmpobj = tmp.fileSync({ postfix: ".json" }); // const tmpobj = tmp.fileSync({ postfix: ".json" });
// fs.writeSync(tmpobj.fd, JSON.stringify(faviconConfig)); // fs.writeSync(tmpobj.fd, JSON.stringify(faviconConfig));
// fs.close(tmpobj.fd); // fs.close(tmpobj.fd);