chore(deps): update dependency favicons to v7 (#497)

This commit is contained in:
renovate[bot] 2022-09-12 09:31:23 +02:00 committed by GitHub
parent 71179798e4
commit 9c898d02f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 468 additions and 2215 deletions

2645
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -47,8 +47,7 @@
"eslint": "8.23.0", "eslint": "8.23.0",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1", "eslint-plugin-prettier": "4.2.1",
"favicons": "6.2.2", "favicons": "7.0.0",
"favicons-webpack-plugin": "5.0.2",
"npm-run-all": "4.1.5", "npm-run-all": "4.1.5",
"postcss-loader": "7.0.1", "postcss-loader": "7.0.1",
"prettier": "2.7.1", "prettier": "2.7.1",
@ -60,8 +59,9 @@
"svgtofont": "3.17.8", "svgtofont": "3.17.8",
"webpack": "5.74.0", "webpack": "5.74.0",
"webpack-cli": "4.10.0", "webpack-cli": "4.10.0",
"webpack-favicons": "^1.3.8",
"webpack-manifest-plugin": "5.0.0", "webpack-manifest-plugin": "5.0.0",
"webpack-remove-empty-scripts": "0.8.3" "webpack-remove-empty-scripts": "0.8.1"
}, },
"overrides": { "overrides": {
"colors": "1.4.0" "colors": "1.4.0"

View File

@ -3,7 +3,7 @@ const glob = require("glob")
const { WebpackManifestPlugin } = require("webpack-manifest-plugin") const { WebpackManifestPlugin } = require("webpack-manifest-plugin")
const GitVersionPlugin = require("@eloquent/git-version-webpack-plugin") const GitVersionPlugin = require("@eloquent/git-version-webpack-plugin")
const FaviconsWebpackPlugin = require("favicons-webpack-plugin") const WebpackFavicons = require("webpack-favicons")
const RemoveEmptyScriptsPlugin = require("webpack-remove-empty-scripts") const RemoveEmptyScriptsPlugin = require("webpack-remove-empty-scripts")
const CopyPlugin = require("copy-webpack-plugin") const CopyPlugin = require("copy-webpack-plugin")
const SRIPlugin = require("./webpack.plugins") const SRIPlugin = require("./webpack.plugins")
@ -56,12 +56,9 @@ var config = {
] ]
}), }),
new FaviconsWebpackPlugin({ new WebpackFavicons({
logo: path.resolve("src", "static", "favicon", "favicon.svg"), src: path.resolve("src", "static", "favicon", "favicon.svg"),
cache: true, path: "favicon/",
prefix: "favicon/",
inject: false,
favicons: {
background: "#2f333e", background: "#2f333e",
theme_color: "#2f333e", theme_color: "#2f333e",
icons: { icons: {
@ -73,7 +70,6 @@ var config = {
yandex: false, yandex: false,
coast: false coast: false
} }
}
}), }),
new RemoveEmptyScriptsPlugin(), new RemoveEmptyScriptsPlugin(),