🔥 Silences non-critical warnings in production

This commit is contained in:
Alicia Sykes 2021-06-28 22:43:55 +01:00
parent b065a54832
commit 0aa17203be
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ module.exports = {
chainWebpack: config => { chainWebpack: config => {
config.module.rules.delete('svg'); config.module.rules.delete('svg');
}, },
configureWebpack: { configureWebpack: {
performance: { hints: false },
module: { module: {
rules: [ rules: [
{ test: /.svg$/, loader: 'vue-svg-loader' }, { test: /.svg$/, loader: 'vue-svg-loader' },
@ -26,12 +26,12 @@ module.exports = {
}), }),
], ],
}, },
pwa: { pwa: {
name: 'Dashy', name: 'Dashy',
manifestPath: './manifest.json', manifestPath: './manifest.json',
themeColor: '#00af87', themeColor: '#00af87',
msTileColor: '#0b1021', msTileColor: '#0b1021',
mode: 'production',
iconPaths: { iconPaths: {
manifestCrossorigin: 'use-credentials', manifestCrossorigin: 'use-credentials',
favicon64: './web-icons/favicon-64x64.png', favicon64: './web-icons/favicon-64x64.png',