]>
Commit | Line | Data |
---|---|---|
b9c5fcf0 BW |
1 | module.exports = { |
2 | chainWebpack: (config) => { | |
3 | config.module | |
b04e7183 | 4 | .rule("yaml") |
b9c5fcf0 | 5 | .test(/\.ya?ml$/) |
b04e7183 TO |
6 | .use("raw-loader") |
7 | .loader("raw-loader") | |
b9c5fcf0 BW |
8 | .end(); |
9 | }, | |
b04e7183 | 10 | publicPath: "", |
2301d891 | 11 | pwa: { |
b04e7183 | 12 | manifestPath: "assets/manifest.json", |
a503c574 | 13 | manifestOptions: { |
b04e7183 | 14 | start_url: "../", |
a503c574 | 15 | }, |
b04e7183 TO |
16 | appleMobileWebAppStatusBarStyle: "black", |
17 | appleMobileWebAppCapable: "yes", | |
18 | name: "Homer Dashboard", | |
19 | short_name: "Homer", | |
20 | theme_color: "#3367D6", | |
a23914d5 BW |
21 | icons: [ |
22 | { | |
b04e7183 TO |
23 | src: "./icons/favicon-16x16.png", |
24 | sizes: "16x16", | |
25 | type: "image/png", | |
a23914d5 BW |
26 | }, |
27 | { | |
b04e7183 TO |
28 | src: "./icons/favicon-32x32.png", |
29 | sizes: "32x32", | |
30 | type: "image/png", | |
a23914d5 BW |
31 | }, |
32 | { | |
b04e7183 TO |
33 | src: "./icons/icon-any.png", |
34 | sizes: "512x512", | |
35 | type: "image/png", | |
36 | purpose: "any", | |
a23914d5 BW |
37 | }, |
38 | { | |
b04e7183 TO |
39 | src: "./icons/icon-any.svg", |
40 | sizes: "any", | |
41 | type: "image/svg+xml", | |
42 | purpose: "any", | |
a23914d5 BW |
43 | }, |
44 | { | |
b04e7183 TO |
45 | src: "./icons/icon-maskable.png", |
46 | sizes: "512x512", | |
47 | type: "image/png", | |
48 | purpose: "maskable", | |
a23914d5 BW |
49 | }, |
50 | { | |
b04e7183 TO |
51 | src: "./icons/safari-pinned-tab.svg", |
52 | sizes: "any", | |
53 | type: "image/svg+xml", | |
54 | purpose: "monochrome", | |
a23914d5 BW |
55 | }, |
56 | ], | |
de0a746a | 57 | iconPaths: { |
b04e7183 TO |
58 | favicon32: "assets/icons/favicon-32x32.png", |
59 | favicon16: "assets/icons/favicon-16x16.png", | |
60 | appleTouchIcon: "assets/icons/icon-maskable.png", | |
61 | maskIcon: "assets/icons/safari-pinned-tab.svg", | |
62 | msTileImage: "assets/icons/icon-any.png", | |
b0a0fdaa BW |
63 | }, |
64 | }, | |
b9c5fcf0 | 65 | }; |