From 9fd9d1351c0a7f7b44b99f22ad75b9020a8cd69f Mon Sep 17 00:00:00 2001
From: Tim Zallmann <tzallmann@gitlab.com>
Date: Sat, 9 Jun 2018 19:45:44 +0200
Subject: [PATCH] Disabling source maps for Production to resolve memory leak

---
 config/webpack.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/webpack.config.js b/config/webpack.config.js
index c3eaf68d4e0..0f5f566e691 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -300,7 +300,7 @@ module.exports = {
     inline: DEV_SERVER_LIVERELOAD,
   },
 
-  devtool: IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map',
+  devtool: IS_PRODUCTION ? 'nosources-source-map' : 'cheap-module-eval-source-map',
 
   // sqljs requires fs
   node: { fs: 'empty' },
-- 
2.30.9