From 494fced66f0c60ee7a1d2b12c343ef06d9c0f7d4 Mon Sep 17 00:00:00 2001 From: otenav Date: Fri, 22 Apr 2022 09:49:18 +0200 Subject: [PATCH] Legger til sourcemap for debugging i prod/sentry --- views/index.html | 2 +- webpack.common.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/views/index.html b/views/index.html index 495932b13..1d404bd7a 100644 --- a/views/index.html +++ b/views/index.html @@ -26,6 +26,6 @@ {{> components/footer}} - + diff --git a/webpack.common.js b/webpack.common.js index 36160b822..e1cad1228 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -3,6 +3,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const devMode = process.env.NODE_ENV !== 'production'; module.exports = { + devtool: 'source-map', optimization: { splitChunks: { cacheGroups: {