From 9ea564b70764f25ce6c11539ace467d2c5df3c21 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 21 Apr 2022 15:12:36 +0200 Subject: [PATCH] chore: fix webpack config --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index ffe72cac7..01944a774 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -222,13 +222,13 @@ async function webpackConfig() { }) ]; } else { - const tmpobj = tmp.fileSync({ dir: ".", postfix: ".json" }); + const tmpobj = tmp.fileSync({ postfix: ".json" }); fs.writeSync(tmpobj.fd, JSON.stringify(faviconConfig)); fs.close(tmpobj.fd); return [ new RealFaviconPlugin({ - faviconJson: `./${tmpobj.name}`, + faviconJson: path.relative(".", tmpobj.name), outputPath: path.resolve(__dirname, 'well-known', lang), inject: false }),