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:
@@ -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;
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user