2021-06-23 00:28:08 +03:00
|
|
|
// Get current version
|
|
|
|
process.env.VUE_APP_VERSION = require('./package.json').version;
|
|
|
|
|
2021-04-17 20:42:38 +03:00
|
|
|
module.exports = {
|
2021-06-14 22:46:59 +03:00
|
|
|
publicPath: process.env.BASE_URL, // || './',
|
2021-04-17 20:42:38 +03:00
|
|
|
chainWebpack: config => {
|
|
|
|
config.module.rules.delete('svg');
|
|
|
|
},
|
2021-05-31 19:01:00 +03:00
|
|
|
|
2021-04-17 20:42:38 +03:00
|
|
|
configureWebpack: {
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{ test: /.svg$/, loader: 'vue-svg-loader' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2021-05-31 19:01:00 +03:00
|
|
|
|
|
|
|
pwa: {
|
|
|
|
name: 'Dashy',
|
2021-06-23 14:33:42 +03:00
|
|
|
manifestPath: './public/manifest.json',
|
|
|
|
themeColor: '#00af87',
|
2021-05-31 19:01:00 +03:00
|
|
|
msTileColor: '#0b1021',
|
2021-06-23 14:33:42 +03:00
|
|
|
iconPaths: {
|
|
|
|
manifestCrossorigin: 'use-credentials',
|
|
|
|
favicon64: './public/web-icons/favicon-64x64.png',
|
|
|
|
favicon32: './public/web-icons/favicon-32x32.png',
|
|
|
|
maskIcon: './public/web-icons/dashy-logo.png',
|
|
|
|
msTileImage: './public/web-icons/dashy-logo.png',
|
|
|
|
},
|
2021-05-31 19:01:00 +03:00
|
|
|
},
|
2021-06-20 19:01:00 +03:00
|
|
|
pages: {
|
|
|
|
dashy: {
|
|
|
|
entry: 'src/main.js',
|
|
|
|
filename: 'index.html',
|
|
|
|
},
|
|
|
|
},
|
2021-04-17 20:42:38 +03:00
|
|
|
};
|