mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-22 20:25:13 +03:00
🔥 Silences non-critical warnings in production
This commit is contained in:
parent
b065a54832
commit
0aa17203be
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user