Open source personal finance application
Add skipWating to pwa.workbox for better receive new updates in clients and disable sourceMap in production
Ilya Komichev6d53acb14013
diff --git a/vue.config.js b/vue.config.jsindex a24b4f61..7cb7c3ae 100644--- a/vue.config.js+++ b/vue.config.js@@ -12,15 +12,17 @@ module.exports = {}}},-+ productionSourceMap: false,css: {- sourceMap: process.env.NODE_ENV !== 'production' && true+ sourceMap: process.env.NODE_ENV !== 'production'},pwa: {themeColor: '#1c1d21',workboxPluginMode: 'GenerateSW',workboxOptions: {+ skipWaiting: true,+runtimeCaching: [{urlPattern: new RegExp('^https://fonts.googleapis.com/'),handler: 'cacheFirst'