This commit is contained in:
xiaozhiyong
2026-06-11 19:06:55 +08:00
parent b64aa13a65
commit bfd9878597
2 changed files with 3 additions and 0 deletions

0
src/plugin/.gitkeep Normal file
View File

View File

@@ -12,6 +12,9 @@ const clearAndUpper = (text) => {
// 递归获取目录下所有的 .vue 文件
const getAllVueFiles = (dir, fileList = []) => {
if (!fs.existsSync(dir)) {
return fileList
}
const files = fs.readdirSync(dir)
files.forEach((file) => {
const filePath = path.join(dir, file)