Fix favicons
This commit is contained in:
@@ -22,7 +22,7 @@ const webpack = require("webpack"),
|
|||||||
MiniCssExtractPlugin = require("mini-css-extract-plugin"),
|
MiniCssExtractPlugin = require("mini-css-extract-plugin"),
|
||||||
OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin"),
|
OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin"),
|
||||||
VueLoaderPlugin = require("vue-loader/lib/plugin"),
|
VueLoaderPlugin = require("vue-loader/lib/plugin"),
|
||||||
WebappWebpackPlugin = require("webapp-webpack-plugin"),
|
FaviconsWebpackPlugin = require("favicons-webpack-plugin"),
|
||||||
ManifestPlugin = require("webpack-manifest-plugin"),
|
ManifestPlugin = require("webpack-manifest-plugin"),
|
||||||
ImageminPlugin = require("imagemin-webpack-plugin").default,
|
ImageminPlugin = require("imagemin-webpack-plugin").default,
|
||||||
CopyPlugin = require("copy-webpack-plugin"),
|
CopyPlugin = require("copy-webpack-plugin"),
|
||||||
@@ -321,10 +321,11 @@ module.exports = {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new WebappWebpackPlugin({
|
new FaviconsWebpackPlugin({
|
||||||
logo: path.join(__dirname, "ui", "sshwifty.svg"),
|
logo: path.join(__dirname, "ui", "sshwifty.svg"),
|
||||||
prefix: "",
|
prefix: "",
|
||||||
cache: false,
|
cache: false,
|
||||||
|
inject: true,
|
||||||
favicons: {
|
favicons: {
|
||||||
appName: "Sshwifty SSH Client",
|
appName: "Sshwifty SSH Client",
|
||||||
appDescription: "Web SSH Client",
|
appDescription: "Web SSH Client",
|
||||||
@@ -334,12 +335,12 @@ module.exports = {
|
|||||||
theme_color: "#333",
|
theme_color: "#333",
|
||||||
appleStatusBarStyle: "black",
|
appleStatusBarStyle: "black",
|
||||||
icons: {
|
icons: {
|
||||||
android: { offset: 5, overlayGlow: false, overlayShadow: true },
|
android: { offset: 0, overlayGlow: false, overlayShadow: true },
|
||||||
appleIcon: { offset: 10, overlayGlow: false },
|
appleIcon: { offset: 5, overlayGlow: false },
|
||||||
appleStartup: { offset: 10, overlayGlow: false },
|
appleStartup: { offset: 5, overlayGlow: false },
|
||||||
coast: false,
|
coast: false,
|
||||||
favicons: { overlayGlow: false },
|
favicons: { overlayGlow: false },
|
||||||
firefox: { offset: 0, overlayGlow: false },
|
firefox: { offset: 5, overlayGlow: false },
|
||||||
windows: { offset: 5, overlayGlow: false },
|
windows: { offset: 5, overlayGlow: false },
|
||||||
yandex: false
|
yandex: false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user