From 29d538c3e64d70dc19343c1e0c95f169a695dfd2 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Mon, 7 Jun 2021 14:50:56 -0400 Subject: [PATCH] Include main process source maps for debugging --- webpack.main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.main.js b/webpack.main.js index ad101bcefa..2261069320 100644 --- a/webpack.main.js +++ b/webpack.main.js @@ -28,7 +28,9 @@ const common = { output: { filename: '[name].js', path: path.resolve(__dirname, 'build'), + devtoolModuleFilenameTemplate: '[absolute-resource-path]', }, + devtool: 'cheap-source-map' }; const main = {