2020-05-26 00:07:03 +02:00
|
|
|
module.exports = {
|
|
|
|
chainWebpack: (config) => {
|
|
|
|
config.module
|
|
|
|
.rule("yaml")
|
|
|
|
.test(/\.ya?ml$/)
|
|
|
|
.use("raw-loader")
|
|
|
|
.loader("raw-loader")
|
|
|
|
.end();
|
|
|
|
},
|
2020-06-07 02:05:58 +02:00
|
|
|
publicPath: "",
|
2020-05-31 02:17:39 +02:00
|
|
|
pwa: {
|
2020-06-06 06:13:31 +02:00
|
|
|
manifestPath: "assets/manifest.json",
|
2020-06-29 11:28:12 +02:00
|
|
|
manifestOptions: {
|
|
|
|
start_url: '../',
|
|
|
|
},
|
2020-06-08 12:31:55 +02:00
|
|
|
appleMobileWebAppStatusBarStyle: "black",
|
|
|
|
appleMobileWebAppCapable: "yes",
|
2020-06-10 07:30:28 +02:00
|
|
|
name: "Homer Dashboard",
|
|
|
|
short_name: "Homer",
|
|
|
|
theme_color: "#3367D6",
|
|
|
|
icons: [
|
|
|
|
{
|
|
|
|
src: "./assets/icons/android-chrome-192x192.png",
|
|
|
|
sizes: "192x192",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/android-chrome-512x512.png",
|
|
|
|
sizes: "512x512",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/android-chrome-maskable-192x192.png",
|
|
|
|
sizes: "192x192",
|
|
|
|
type: "image/png",
|
|
|
|
purpose: "maskable",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/android-chrome-maskable-512x512.png",
|
|
|
|
sizes: "512x512",
|
|
|
|
type: "image/png",
|
|
|
|
purpose: "maskable",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon-60x60.png",
|
|
|
|
sizes: "60x60",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon-76x76.png",
|
|
|
|
sizes: "76x76",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon-120x120.png",
|
|
|
|
sizes: "120x120",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon-152x152.png",
|
|
|
|
sizes: "152x152",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon-180x180.png",
|
|
|
|
sizes: "180x180",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/apple-touch-icon.png",
|
|
|
|
sizes: "180x180",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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/msapplication-icon-144x144.png",
|
|
|
|
sizes: "144x144",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "./assets/icons/mstile-150x150.png",
|
|
|
|
sizes: "150x150",
|
|
|
|
type: "image/png",
|
|
|
|
},
|
|
|
|
],
|
2020-06-06 06:13:31 +02:00
|
|
|
iconPaths: {
|
2020-06-07 02:05:58 +02:00
|
|
|
favicon32: "assets/icons/favicon-32x32.png",
|
|
|
|
favicon16: "assets/icons/favicon-16x16.png",
|
|
|
|
appleTouchIcon: "assets/icons/apple-touch-icon-152x152.png",
|
|
|
|
maskIcon: "assets/icons/safari-pinned-tab.svg",
|
|
|
|
msTileImage: "assets/icons/msapplication-icon-144x144.png",
|
|
|
|
},
|
|
|
|
},
|
2020-05-26 00:07:03 +02:00
|
|
|
};
|