增加 dbStorage API

This commit is contained in:
muwoo
2021-12-18 16:17:49 +08:00
parent 7cb78e00a8
commit ced8aa846b
12 changed files with 75 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import { PLUGIN_INSTALL_DIR as baseDir } from "@/common/constans/main";
const getPreloadPath = (plugin, pluginIndexPath) => {
const { name, preload, tplPath, indexPath } = plugin;
if (!preload) return;
if (commonConst.dev()) {
if (name === "rubick-system-feature") {
return path.resolve(__static, `../feature/public/preload.js`);