chore: 修复metadata 插件加载失败的问题

This commit is contained in:
xiaojunnuo
2025-12-31 18:36:24 +08:00
parent a3fb24993d
commit ed0016fd2b
13 changed files with 132 additions and 120 deletions
@@ -35,6 +35,9 @@ export default async function loadModules(dir) {
continue
}
const content = fs.readFileSync(file, 'utf8')
if(content.includes(" abstract ")){
continue
}
const lines = content.split('\n')
let allExport = true
for (let line of lines) {