homer/vue.config.js

27 lines
746 B
JavaScript
Raw Normal View History

module.exports = {
chainWebpack: (config) => {
config.module
2020-10-23 22:44:46 +02:00
.rule("yaml")
.test(/\.ya?ml$/)
2020-10-23 22:44:46 +02:00
.use("raw-loader")
.loader("raw-loader")
.end();
},
2020-10-23 22:44:46 +02:00
publicPath: "",
pwa: {
2020-10-23 22:44:46 +02:00
manifestPath: "assets/manifest.json",
appleMobileWebAppStatusBarStyle: "black",
appleMobileWebAppCapable: "yes",
name: "Homer Dashboard",
2020-10-23 22:56:51 +02:00
themeColor: "#3367D6",
manifestOptions: require('./public/assets/manifest.json'),
iconPaths: {
2020-10-23 22:44:46 +02:00
favicon32: "assets/icons/favicon-32x32.png",
favicon16: "assets/icons/favicon-16x16.png",
appleTouchIcon: "assets/icons/icon-maskable.png",
maskIcon: "assets/icons/safari-pinned-tab.svg",
msTileImage: "assets/icons/icon-any.png",
2020-06-07 02:05:58 +02:00
},
},
};