vikunja-frontend/vue.config.js

69 lines
1.5 KiB
JavaScript
Raw Normal View History

2018-11-25 22:02:22 +01:00
module.exports = {
configureWebpack: {
2020-06-19 21:35:05 +02:00
devtool: 'source-map',
2019-10-16 20:25:10 +02:00
},
2019-12-02 18:59:43 +01:00
productionSourceMap: false,
2019-10-16 20:25:10 +02:00
pwa: {
name: 'Vikunja',
2020-06-12 20:47:31 +02:00
themeColor: '#1973ff',
2019-10-16 20:25:10 +02:00
appleMobileWebAppCapable: 'yes',
workboxPluginMode: 'InjectManifest',
workboxOptions: {
importWorkboxFrom: 'local',
2020-06-19 21:35:05 +02:00
swSrc: 'src/ServiceWorker/sw.js',
2019-10-16 20:25:10 +02:00
},
2020-06-19 21:35:05 +02:00
iconPaths: {
2019-10-16 20:25:10 +02:00
favicon32: 'images/icons/favicon-32x32.png',
favicon16: 'images/icons/favicon-16x16.png',
appleTouchIcon: 'images/icons/apple-touch-icon-152x152.png',
maskIcon: 'images/icons/safari-pinned-tab.svg',
msTileImage: 'images/icons/msapplication-icon-144x144.png',
},
manifestOptions: {
"icons": [
{
"src": "./images/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
2020-11-12 21:24:08 +01:00
"src": "./images/icons/android-chrome-512x512.png",
2019-10-16 20:25:10 +02:00
"sizes": "512x512",
"type": "image/png"
2020-11-12 21:24:08 +01:00
},
{
"src": "./images/icons/icon-maskable.png",
"sizes": "1024x1024",
"type": "image/png",
"purpose": "maskable"
},
2019-10-16 20:25:10 +02:00
],
shortcuts: [
{
name: 'Overview',
url: '/',
},
{
name: 'Namespaces And Lists Overview',
short_name: 'Namespaces & Lists',
url: '/namespaces',
},
{
name: 'Tasks Next Week',
short_name: 'Next Week',
url: '/tasks/by/week',
},
{
name: 'Tasks Next Month',
short_name: 'Next Month',
url: '/tasks/by/month',
},
{
name: 'Teams Overview',
short_name: 'Teams',
url: '/teams',
}
]
2019-10-16 20:25:10 +02:00
},
2018-11-25 22:02:22 +01:00
}
}