mirror of
https://github.com/Gar-b-age/CookLikeHOC.git
synced 2026-07-12 07:36:08 +00:00
feat: 更新排除目录列表,添加 docs 目录;新增本地开发文档
This commit is contained in:
@@ -2,7 +2,7 @@ import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
const ROOT = process.cwd()
|
||||
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public'])
|
||||
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs'])
|
||||
|
||||
function isDirectory(p) {
|
||||
return fs.existsSync(p) && fs.statSync(p).isDirectory()
|
||||
|
||||
Reference in New Issue
Block a user