chore: fix webpack config
This commit is contained in:
parent
87384ebb30
commit
9ea564b707
@ -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
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user