mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-11 14:04:06 +08:00
✨ 支持 template 模板 list 模式
This commit is contained in:
parent
8250dfdb59
commit
7cb78e00a8
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user