fix(build): clear cache before building

This commit is contained in:
Pihkaal
2024-09-12 17:44:24 +02:00
parent c98306fecb
commit 912ce3a676

View File

@@ -5,7 +5,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tsc && vite build", "build": "tsc && rm -f node_modules/.cache/assets && vite build",
"dev": "vite", "dev": "vite",
"lint": "eslint src --cache --fix --max-warnings 0", "lint": "eslint src --cache --fix --max-warnings 0",
"preview": "vite preview", "preview": "vite preview",