2020-05-25 15:07:03 -07:00
|
|
|
module.exports = {
|
|
|
|
|
chainWebpack: (config) => {
|
|
|
|
|
config.module
|
2020-09-02 22:02:14 -07:00
|
|
|
.rule('yaml')
|
2020-05-25 15:07:03 -07:00
|
|
|
.test(/\.ya?ml$/)
|
2020-09-02 22:02:14 -07:00
|
|
|
.use('raw-loader')
|
|
|
|
|
.loader('raw-loader')
|
2020-05-25 15:07:03 -07:00
|
|
|
.end();
|
|
|
|
|
},
|
2020-09-02 22:02:14 -07:00
|
|
|
publicPath: '',
|
2020-05-30 17:17:39 -07:00
|
|
|
pwa: {
|
2020-09-02 22:02:14 -07:00
|
|
|
manifestPath: 'assets/manifest.json',
|
2020-06-29 11:28:12 +02:00
|
|
|
manifestOptions: {
|
2020-09-02 22:02:14 -07:00
|
|
|
start_url: '../',
|
2020-06-29 11:28:12 +02:00
|
|
|
},
|
2020-09-02 22:02:14 -07:00
|
|
|
appleMobileWebAppStatusBarStyle: 'black',
|
|
|
|
|
appleMobileWebAppCapable: 'yes',
|
|
|
|
|
name: 'Homer Dashboard',
|
|
|
|
|
short_name: 'Homer',
|
|
|
|
|
theme_color: '#3367D6',
|
2020-06-09 22:30:28 -07:00
|
|
|
icons: [
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/favicon-16x16.png',
|
|
|
|
|
sizes: '16x16',
|
|
|
|
|
type: 'image/png',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/favicon-32x32.png',
|
|
|
|
|
sizes: '32x32',
|
|
|
|
|
type: 'image/png',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/icon-any.png',
|
|
|
|
|
sizes: '512x512',
|
|
|
|
|
type: 'image/png',
|
|
|
|
|
purpose: 'any',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/icon-any.svg',
|
|
|
|
|
sizes: 'any',
|
|
|
|
|
type: 'image/svg+xml',
|
|
|
|
|
purpose: 'any',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/icon-maskable.png',
|
|
|
|
|
sizes: '512x512',
|
|
|
|
|
type: 'image/png',
|
|
|
|
|
purpose: 'maskable',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
{
|
2020-09-02 22:02:14 -07:00
|
|
|
src: '../assets/icons/safari-pinned-tab.svg',
|
|
|
|
|
sizes: 'any',
|
|
|
|
|
type: 'image/svg+xml',
|
|
|
|
|
purpose: 'monochrome',
|
2020-06-09 22:30:28 -07:00
|
|
|
},
|
|
|
|
|
],
|
2020-06-05 23:13:31 -05:00
|
|
|
iconPaths: {
|
2020-09-02 22:02:14 -07: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-06 17:05:58 -07:00
|
|
|
},
|
|
|
|
|
},
|
2020-05-25 15:07:03 -07:00
|
|
|
};
|