From 13ad29b86cf4aa4597c508477868d9d9faaa5ba8 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 29 Jul 2022 18:02:31 +0200 Subject: [PATCH] DataTables: Use minified JS files (#1094) --- core/request-analyzer.js | 5 +++++ pages/updates/updates.html | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/core/request-analyzer.js b/core/request-analyzer.js index b945ac1f..abd2ddc6 100644 --- a/core/request-analyzer.js +++ b/core/request-analyzer.js @@ -258,6 +258,11 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath }; } } + if (bundle === 'DataTables (Bundle)') { + if (!filename.endsWith('.min.js') && filename.endsWith('.js')) { + filename = filename.replace('.js', '.min.js'); + } + } return helpers.formatFilename(filename.endsWith('.js') ? `${targetPath + filename}m` : targetPath + filename); diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 2aaa37d3..7b430aaa 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -49,6 +49,10 @@
  • Chromium: Remove option to change badge color for HTML filter (#1082)
  • Chromium: Remove option to block Google Fonts (#1085)
  • +

    Mapping

    +