feat: @certd/ui-server module import报错的问题

v2
xiaojunnuo 2025-09-28 09:58:22 +08:00
parent 2ae193092d
commit 0c61d4c978
2 changed files with 20 additions and 2 deletions

View File

@ -37,7 +37,6 @@
},
"license": "AGPL-3.0",
"dependencies": {
"@certd/ui-server": "link:packages/ui/certd-server",
"axios": "^1.7.7",
"copyfiles": "^2.4.1",
"lodash-es": "^4.17.21",

View File

@ -19,4 +19,23 @@ function check(){
}
}
check()
function checkDist(){
function scanDir(root,excludes){
//扫描文件,忽略node_modules
const files = fs.readdirSync(root)
const dirs = []
for (const file of files) {
if (excludes.includes(file)) {
continue;
}
const filePath = join(root, file);
}
console.log("检查",file)
}
}
checkDist()
// check()