mirror of
				https://github.com/bastienwirtz/homer.git
				synced 2025-10-31 02:15:50 +01:00 
			
		
		
		
	Pull all values from manifest
This commit is contained in:
		| @@ -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", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user