Skip to content

Open source personal finance application

Show sourcemaps only in dev mode

Ilya Komichevd620ca24b7f6
diff --git a/vue.config.js b/vue.config.js
index 043b13cb..6ff0f4f8 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -14,7 +14,7 @@ module.exports = {
},
css: {
- sourceMap: true
+ sourceMap: process.env.NODE_ENV !== 'production' && true
},
pwa: {