mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 19:39:27 +08:00
✨ 支持 template 模板 list 模式
This commit is contained in:
@@ -14,7 +14,9 @@ const getPreloadPath = (plugin, pluginIndexPath) => {
|
|||||||
}
|
}
|
||||||
return path.resolve(pluginIndexPath.replace("file:", ""), `../`, preload);
|
return path.resolve(pluginIndexPath.replace("file:", ""), `../`, preload);
|
||||||
}
|
}
|
||||||
|
if (tplPath) {
|
||||||
|
return path.resolve(indexPath.replace("file:", ""), `./`, preload);
|
||||||
|
}
|
||||||
return path.resolve(pluginIndexPath.replace("file:", ""), `../`, preload);
|
return path.resolve(pluginIndexPath.replace("file:", ""), `../`, preload);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user