dashy/vue.config.js
2021-06-20 17:01:00 +01:00

29 lines
496 B
JavaScript

module.exports = {
publicPath: process.env.BASE_URL, // || './',
chainWebpack: config => {
config.module.rules.delete('svg');
},
configureWebpack: {
module: {
rules: [
{ test: /.svg$/, loader: 'vue-svg-loader' },
],
},
},
pwa: {
name: 'Dashy',
themeColor: '#00CCB4',
msTileColor: '#0b1021',
manifestCrossorigin: 'use-credentials',
},
pages: {
dashy: {
entry: 'src/main.js',
filename: 'index.html',
},
},
};