fix: github actions no error on missing files from webpack copy

This commit is contained in:
AtHeartEngineer
2022-12-07 18:08:11 +00:00
parent 179e68a8db
commit def0670547

View File

@@ -53,8 +53,15 @@ module.exports = {
}), }),
new CopyPlugin({ new CopyPlugin({
patterns: [ patterns: [
{ from: "./public/manifest.json", to: "manifest.json" }, {
{ from: "./public/*.pdf", to: "[name][ext]" } from: "./public/manifest.json",
to: "manifest.json"
},
{
from: "./public/*.pdf",
to: "[name][ext]",
noErrorOnMissing: true
}
], ],
}), }),
// new HtmlWebpackInlineSourcePlugin(), // new HtmlWebpackInlineSourcePlugin(),