mirror of
https://github.com/certd/certd.git
synced 2026-05-17 22:07:34 +08:00
feat: @certd/ui-server module import报错的问题
This commit is contained in:
+20
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user