From 26a2c934b28ea267092ad09906dac207e2653ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bajsarowicz?= Date: Thu, 6 Aug 2026 00:18:07 +0200 Subject: [PATCH] fix: drop the dangling source map reference from underscore.js lib/web/underscore.js is underscore's UMD build vendored under a different file name, and it kept the trailing sourceMappingURL comment pointing at underscore-umd.js.map. That map is not shipped, so every browser with developer tools open requests it and Magento cannot resolve it: main.ERROR: Unable to resolve the source file for 'adminhtml/Magento/backend/en_US/underscore-umd.js.map' Remove the comment, since there is no map to point at. Shipping the upstream map instead would not help: it describes underscore-umd.js and references sources that are not vendored either. Fixes #38865 --- lib/web/underscore.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/web/underscore.js b/lib/web/underscore.js index 9d220e0f839b5..89f38ca9d482f 100644 --- a/lib/web/underscore.js +++ b/lib/web/underscore.js @@ -2081,4 +2081,3 @@ return _; }))); -//# sourceMappingURL=underscore-umd.js.map