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

View File

@ -3,7 +3,7 @@ const glob = require("glob")
const { WebpackManifestPlugin } = require("webpack-manifest-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 CopyPlugin = require("copy-webpack-plugin")
const SRIPlugin = require("./webpack.plugins")
@ -56,23 +56,19 @@ var config = {
]
}),
new FaviconsWebpackPlugin({
logo: path.resolve("src", "static", "favicon", "favicon.svg"),
cache: true,
prefix: "favicon/",
inject: false,
favicons: {
background: "#2f333e",
theme_color: "#2f333e",
icons: {
android: { offset: 10 },
appleIcon: { offset: 10 },
appleStartup: { offset: 10 },
favicons: true,
windows: { offset: 10 },
yandex: false,
coast: false
}
new WebpackFavicons({
src: path.resolve("src", "static", "favicon", "favicon.svg"),
path: "favicon/",
background: "#2f333e",
theme_color: "#2f333e",
icons: {
android: { offset: 10 },
appleIcon: { offset: 10 },
appleStartup: { offset: 10 },
favicons: true,
windows: { offset: 10 },
yandex: false,
coast: false
}
}),