]> git.immae.eu Git - github/bastienwirtz/homer.git/blame - vue.config.js
Replaced darkhttpd with lighttpd
[github/bastienwirtz/homer.git] / vue.config.js
CommitLineData
40d3e8de
TO
1const manifestOptions = require("./public/assets/manifest.json");
2
b9c5fcf0
BW
3module.exports = {
4 chainWebpack: (config) => {
5 config.module
b04e7183 6 .rule("yaml")
b9c5fcf0 7 .test(/\.ya?ml$/)
b04e7183
TO
8 .use("raw-loader")
9 .loader("raw-loader")
b9c5fcf0
BW
10 .end();
11 },
b04e7183 12 publicPath: "",
2301d891 13 pwa: {
b04e7183 14 manifestPath: "assets/manifest.json",
24289983 15 manifestCrossorigin: "use-credentials",
b04e7183
TO
16 appleMobileWebAppStatusBarStyle: "black",
17 appleMobileWebAppCapable: "yes",
40d3e8de
TO
18 name: manifestOptions.name,
19 themeColor: manifestOptions.theme_color,
20 manifestOptions,
de0a746a 21 iconPaths: {
b04e7183
TO
22 favicon32: "assets/icons/favicon-32x32.png",
23 favicon16: "assets/icons/favicon-16x16.png",
24 appleTouchIcon: "assets/icons/icon-maskable.png",
25 maskIcon: "assets/icons/safari-pinned-tab.svg",
26 msTileImage: "assets/icons/icon-any.png",
b0a0fdaa
BW
27 },
28 },
b9c5fcf0 29};