1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-02 19:17:37 +01:00

Adds web manifest

This commit is contained in:
Amir Raminfar
2020-05-06 16:00:15 -07:00
parent 6ed4dcc86a
commit 55f4cff699
4 changed files with 524 additions and 61 deletions

View File

@@ -2,6 +2,7 @@ const path = require("path");
const { VueLoaderPlugin } = require("vue-loader");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const WebpackPwaManifest = require("webpack-pwa-manifest");
module.exports = {
stats: { children: false, entrypoints: false, modules: false },
@@ -59,6 +60,13 @@ module.exports = {
scriptLoading: "defer",
favicon: "assets/favicon.svg",
}),
new WebpackPwaManifest({
name: "Dozzle Log Viewer",
short_name: "Dozzle",
theme_color: "#222",
background_color: "#222",
display: "standalone",
}),
],
resolve: {
alias: {