mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-18 12:50:49 +01:00
Mapping: webcomponentsjs -> cdn.jsdelivr.net (#1184)
This commit is contained in:
parent
697d451a2c
commit
5e191a5a8c
@ -264,6 +264,15 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||||||
'path': 'resources/google-material-design-icons/google-material-design-icons.css',
|
'path': 'resources/google-material-design-icons/google-material-design-icons.css',
|
||||||
'bundle': ''
|
'bundle': ''
|
||||||
};
|
};
|
||||||
|
} else if (CompleteURL.startsWith('cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.')) {
|
||||||
|
lastVersion = targets.setLastVersion('/webcomponentsjs/');
|
||||||
|
return {
|
||||||
|
'source': channelHost,
|
||||||
|
'versionDelivered': lastVersion,
|
||||||
|
'versionRequested': 'latest',
|
||||||
|
'path': `resources/webcomponentsjs/${lastVersion}/webcomponents-loader.min.jsm`,
|
||||||
|
'bundle': ''
|
||||||
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
'result': false,
|
'result': false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user