DataTables: Use minified JS files (#1094)
This commit is contained in:
parent
06c4afa184
commit
13ad29b86c
|
@ -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);
|
||||
|
|
|
@ -49,6 +49,10 @@
|
|||
<li>Chromium: Remove option to change badge color for HTML filter (<a href="https://codeberg.org/nobody/LocalCDN/issues/1082">#1082</a>)</li>
|
||||
<li>Chromium: Remove option to block Google Fonts (<a href="https://codeberg.org/nobody/LocalCDN/issues/1085">#1085</a>)</li>
|
||||
</ul>
|
||||
<p>Mapping</p>
|
||||
<ul>
|
||||
<li>DataTables: Use minified JS files (<a href="https://codeberg.org/nobody/LocalCDN/issues/1094">#1094</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue