perf: 自定义插件支持使用_ctx.import("/@/xxx.js")以绝对路径引用模块

This commit is contained in:
xiaojunnuo
2026-01-16 00:46:26 +08:00
parent 2fbb58eb2b
commit 9eace86aee
6 changed files with 69 additions and 152 deletions
@@ -14,7 +14,7 @@ export class BuiltInPluginService {
continue;
}
//@ts-ignore
if(Plugin.define?.type && Plugin.define?.type !== 'builtin'){
if(Plugin.define?.type && Plugin.define?.type.toLowerCase() !== 'builtin'){
continue;
}
list.push({ ...Plugin.define, key });