Merge pull request #5136 from dbolack-ab/clear_vite_cache

Add a force option to run scripts that deletes the .vite caches
This commit is contained in:
Trevor Buckner
2026-10-26 15:16:01 -04:00
committed by GitHub
+1
View File
@@ -14,6 +14,7 @@
"scripts": { "scripts": {
"start": "node server.js", "start": "node server.js",
"build": "vite build", "build": "vite build",
"build:clean": "node -e \"const fs=require('fs'); fs.rmSync('.vite',{recursive:true,force:true}); fs.rmSync('node_modules/.vite',{recursive:true,force:true});\" && vite build",
"lint": "eslint --fix", "lint": "eslint --fix",
"lint:dry": "eslint", "lint:dry": "eslint",
"stylelint": "stylelint --fix **/*.{less}", "stylelint": "stylelint --fix **/*.{less}",