Javascript favicon不会使用react静态插件favicons显示

Javascript favicon不会使用react静态插件favicons显示,javascript,favicon,react-static,Javascript,Favicon,React Static,我想用lib显示一个favicon 我将其添加到我的static.config.js中: 导出默认值{ 条目:path.join(uu dirname,'src','index.tsx'), getRoutes:async()=>{ 返回[ { 路径:“/”, 模板:“src/containers/personals.tsx” } ] }, 插件:[ require.resolve(“react static plugin sass”), ['react-static-plugin-types

我想用lib显示一个favicon

我将其添加到我的static.config.js中:

导出默认值{
条目:path.join(uu dirname,'src','index.tsx'),
getRoutes:async()=>{
返回[
{
路径:“/”,
模板:“src/containers/personals.tsx”
}
]
},
插件:[
require.resolve(“react static plugin sass”),
['react-static-plugin-typescript',{typeCheck:true}],
[
require.resolve('react-static-plugin-source-filesystem'),
{
位置:path.resolve('./src/page'),
},
],
require.resolve('react-static-plugin-reach-router'),
require.resolve('react-static-plugin-sitemap'),
[
“react static plugin favicons”,
{inputFile:path.resolve('./src/assets','favicon-32px.png'),
]
],
基本路径:基本路径,
文件:({
Html,
头,,
身体,
儿童
状态:{siteData,renderMeta},
}) => (
{儿童}
),
}