Pull all values from manifest

This commit is contained in:
Tiger Oakes 2020-10-23 13:59:55 -07:00
parent 1017cc9864
commit 40d3e8de76

View File

@ -1,3 +1,5 @@
const manifestOptions = require("./public/assets/manifest.json");
module.exports = { module.exports = {
chainWebpack: (config) => { chainWebpack: (config) => {
config.module config.module
@ -12,9 +14,9 @@ module.exports = {
manifestPath: "assets/manifest.json", manifestPath: "assets/manifest.json",
appleMobileWebAppStatusBarStyle: "black", appleMobileWebAppStatusBarStyle: "black",
appleMobileWebAppCapable: "yes", appleMobileWebAppCapable: "yes",
name: "Homer Dashboard", name: manifestOptions.name,
themeColor: "#3367D6", themeColor: manifestOptions.theme_color,
manifestOptions: require('./public/assets/manifest.json'), manifestOptions,
iconPaths: { iconPaths: {
favicon32: "assets/icons/favicon-32x32.png", favicon32: "assets/icons/favicon-32x32.png",
favicon16: "assets/icons/favicon-16x16.png", favicon16: "assets/icons/favicon-16x16.png",