From 6290ded7fa2fce7d99a8324790d684fd6e3161d3 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Wed, 10 Jul 2019 15:08:48 +0200
Subject: [PATCH] See #880: disabled eval source maps in dev to allow for
 keeping CSP on

---
 front/vue.config.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/front/vue.config.js b/front/vue.config.js
index 4b149a05..a40a075d 100644
--- a/front/vue.config.js
+++ b/front/vue.config.js
@@ -11,6 +11,7 @@ if (process.env.BUNDLE_ANALYZE === '1') {
 }
 module.exports = {
   baseUrl: process.env.BASE_URL || '/front/',
+  productionSourceMap: false,
   pages: {
     embed: {
       entry: 'src/embed.js',
@@ -30,6 +31,7 @@ module.exports = {
   },
   configureWebpack: {
     plugins: plugins,
+    devtool: false
   },
   devServer: {
     disableHostCheck: true,
-- 
GitLab