Upgrade frontend dependencies, including the newest version of favicons that we use to build our favicon images

This commit is contained in:
Ni Rui
2022-09-13 16:08:36 +08:00
parent 772c9270c0
commit 80665a0142
3 changed files with 873 additions and 3464 deletions

View File

@@ -24,7 +24,7 @@ const webpack = require("webpack"),
CssMinimizerPlugin = require("css-minimizer-webpack-plugin"),
ImageMinimizerPlugin = require("image-minimizer-webpack-plugin"),
{ VueLoaderPlugin } = require("vue-loader"),
FaviconsWebpackPlugin = require("favicons-webpack-plugin"),
WebpackFavicons = require("webpack-favicons"),
CopyPlugin = require("copy-webpack-plugin"),
TerserPlugin = require("terser-webpack-plugin"),
{ CleanWebpackPlugin } = require("clean-webpack-plugin"),
@@ -361,30 +361,25 @@ module.exports = {
);
},
},
new FaviconsWebpackPlugin({
logo: path.join(__dirname, "ui", "sshwifty.svg"),
prefix: "",
cache: false,
inject: true,
favicons: {
appName: "Sshwifty SSH Client",
appDescription: "Web SSH Client",
developerName: "Ni Rui",
developerURL: "https://nirui.org",
background: "#333",
theme_color: "#333",
appleStatusBarStyle: "black",
display: "standalone",
icons: {
android: { offset: 0, overlayGlow: false, overlayShadow: true },
appleIcon: { offset: 5, overlayGlow: false },
appleStartup: { offset: 5, overlayGlow: false },
coast: false,
favicons: { overlayGlow: false },
firefox: { offset: 5, overlayGlow: false },
windows: { offset: 5, overlayGlow: false },
yandex: false,
},
new WebpackFavicons({
src: path.join(__dirname, "ui", "sshwifty.svg"),
appName: "Sshwifty SSH Client",
appShortName: "Sshwifty",
appDescription: "Web SSH Client",
developerName: "Ni Rui",
developerURL: "https://nirui.org",
background: "#333",
theme_color: "#333",
appleStatusBarStyle: "black",
display: "standalone",
icons: {
android: { offset: 0, overlayGlow: false, overlayShadow: true },
appleIcon: { offset: 5, overlayGlow: false },
appleStartup: { offset: 5, overlayGlow: false },
coast: false,
favicons: { overlayGlow: false },
windows: { offset: 5, overlayGlow: false },
yandex: false,
},
}),
new HtmlWebpackPlugin({