From 667630d503116bfc0bc26439399c83d8ab2daef0 Mon Sep 17 00:00:00 2001
From: Filip Hric <filip@filiphric.sk>
Date: Tue, 30 Jan 2024 19:40:15 +0100
Subject: [PATCH] Add sourcemap option to Cypress preprocessor (#38251)

---
 e2e/support/config.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/e2e/support/config.js b/e2e/support/config.js
index c3cb3d92d71..c846b0f4d2c 100644
--- a/e2e/support/config.js
+++ b/e2e/support/config.js
@@ -62,7 +62,10 @@ const defaultConfig = {
 
     on(
       "file:preprocessor",
-      createBundler({ plugins: [NodeModulesPolyfillPlugin()] }),
+      createBundler({
+        plugins: [NodeModulesPolyfillPlugin()],
+        sourcemap: "inline",
+      }),
     );
 
     /********************************************************************
-- 
GitLab