1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

vex-js: vex-theme-wireframe.css -> vex-theme-wireframe.min.css (#1183)

This commit is contained in:
nobody
2022-10-24 06:38:10 +02:00
parent a8fd61a781
commit 26f9b4e05f
2 changed files with 4 additions and 0 deletions

View File

@@ -197,6 +197,9 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
bundle = targets.determineBundle(targetPath);
if (bundle !== '') {
targetPath = requestAnalyzer._getPathOfBundle(initiator, channelHost, channelPath, targetPath, bundle);
if (bundle === 'vex (Bundle)' && !targetPath.endsWith('.min.css') && targetPath.endsWith('.css')) {
targetPath = targetPath.replace('.css', '.min.css');
}
}
if (targetPath['result'] === false) {
break;