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
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
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); bundle = targets.determineBundle(targetPath);
if (bundle !== '') { if (bundle !== '') {
targetPath = requestAnalyzer._getPathOfBundle(initiator, channelHost, channelPath, targetPath, 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) { if (targetPath['result'] === false) {
break; break;

View File

@ -35,6 +35,7 @@
<p>Mapping</p> <p>Mapping</p>
<ul> <ul>
<li>cdnjs.cloudflare.com -> swiper-bundle CSS & JS (<a href="https://codeberg.org/nobody/LocalCDN/issues/1181">#1181</a>)</li> <li>cdnjs.cloudflare.com -> swiper-bundle CSS & JS (<a href="https://codeberg.org/nobody/LocalCDN/issues/1181">#1181</a>)</li>
<li>vex-js: vex-theme-wireframe.css -> vex-theme-wireframe.min.css (<a href="https://codeberg.org/nobody/LocalCDN/issues/1183">#1183</a>)</li>
</ul> </ul>
<p>Added</p> <p>Added</p>
<ul> <ul>