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

Added: ElementUI v2.13.2 (#147)

This commit is contained in:
nobody
2020-10-23 17:25:26 +02:00
parent 1c198f4d0d
commit 43b7bb3668
58 changed files with 78 additions and 1 deletions

View File

@ -242,6 +242,7 @@ mappings.cdn = {
'd3/{version}/d3.min.js': resources.d3JS,
'd3-legend/{version}/d3-legend.': resources.d3legend,
'dojo/{version}/dojo.': resources.dojo,
'element-ui/{version}/': resources.elementUI,
'ember.js/{version}/ember.': resources.ember,
'ext-core/{version}/ext-core.': resources.extCore,
'fancybox/{version}/jquery.fancybox.min.js': resources.fancyBoxJS,

View File

@ -155,6 +155,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
if (bundle !== '') {
filename = channelPath.split('/').pop();
targetPath = ( RegExp('.*\.css$').test(filename) ) ? targetPath + filename : targetPath + filename + 'm';
targetPath = helpers.formatFilename(targetPath);
}
if (requestAnalyzer.logging) {

View File

@ -289,6 +289,11 @@ var resources = {
'path': 'resources/dojo/{version}/dojo/dojo.jsm',
'type': 'application/javascript'
},
// Element-UI (Bundle)
'elementUI': {
'path': 'resources/element-ui/{version}/',
'type': 'application/javascript'
},
// Ember.js
'ember': {
'path': 'resources/ember.js/{version}/ember.min.jsm',