mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-28 16:54:19 -04:00
@@ -1,4 +1,5 @@
|
||||
const path = require("path");
|
||||
const manifestJSON = require("./public/manifest.json");
|
||||
module.exports = {
|
||||
transpileDependencies: ["vuetify"],
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||
@@ -26,4 +27,17 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
pwa: {
|
||||
name: manifestJSON.short_name,
|
||||
themeColor: manifestJSON.theme_color,
|
||||
msTileColor: manifestJSON.background_color,
|
||||
appleMobileWebAppCapable: "yes",
|
||||
appleMobileWebAppStatusBarStyle: "black",
|
||||
|
||||
workboxPluginMode: "InjectManifest",
|
||||
workboxOptions: {
|
||||
swSrc: "./src/sw.js",
|
||||
swDest: "service-worker.js",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user