This commit is contained in:
Your Name
2026-03-13 14:08:52 +08:00
parent 08dd9cd307
commit eb283f008b
667 changed files with 8425 additions and 27053 deletions
+13
View File
@@ -0,0 +1,13 @@
import fs from 'node:fs'
import path from 'node:path'
const root = path.resolve(process.cwd())
const dirs = ['dist', path.join('node_modules', '.vite')]
for (const dir of dirs) {
const full = path.join(root, dir)
if (fs.existsSync(full)) {
fs.rmSync(full, { recursive: true })
console.log('Removed:', dir)
}
}
console.log('Clean done.')