From f34cc1c88dced631b914fc2bee2dbbbae5e16b41 Mon Sep 17 00:00:00 2001 From: Faris Demirovic Date: Mon, 25 Nov 2024 14:36:07 +0100 Subject: [PATCH] Attempt to debug in production --- editor/package.json | 7 +++++++ webpack.config.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/editor/package.json b/editor/package.json index 09b7db3..6038c8e 100644 --- a/editor/package.json +++ b/editor/package.json @@ -55,5 +55,12 @@ "postcss": "^8.4.35", "process": "^0.11.10", "tailwindcss": "^3.4.1" + }, + "targets": { + "default": { + "sourceMap": { + "inline": true + } + } } } diff --git a/webpack.config.js b/webpack.config.js index 67c45d5..1e0aa30 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ const extensionConfig = { performance: { hints: false, }, - devtool: "inline-source-map", // create a source map that points to the original source file + devtool: "nosources-source-map", // create a source map that points to the original source file infrastructureLogging: { level: "log", // enables logging required for problem matchers },