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