fix customAutoLoad front end library loader

video-slicer-reencoder
Moe 2022-08-25 13:09:48 -07:00
parent d1d0ca6797
commit 519ab851e8
1 changed files with 4 additions and 4 deletions

View File

@ -238,10 +238,10 @@ module.exports = async (s,config,lang,app,io) => {
if(name === 'libs'){
switch(libName){
case'js':
s.customAutoLoadTree[blockPrefix + 'AssetsJs'].push(filename)
s.customAutoLoadTree[blockPrefix + 'LibsJs'].push(filename)
break;
case'css':
s.customAutoLoadTree[blockPrefix + 'AssetsCss'].push(filename)
s.customAutoLoadTree[blockPrefix + 'LibsCss'].push(filename)
break;
case'blocks':
s.customAutoLoadTree[blockPrefix + 'PageBlocks'].push(fullPath)
@ -250,10 +250,10 @@ module.exports = async (s,config,lang,app,io) => {
}else if(name === 'assets'){
switch(libName){
case'js':
s.customAutoLoadTree[blockPrefix + 'LibsJs'].push(filename)
s.customAutoLoadTree[blockPrefix + 'AssetsJs'].push(filename)
break;
case'css':
s.customAutoLoadTree[blockPrefix + 'LibsCss'].push(filename)
s.customAutoLoadTree[blockPrefix + 'AssetsCss'].push(filename)
break;
case'blocks':
s.customAutoLoadTree[blockPrefix + 'PageBlocks'].push(fullPath)