17 lines
315 B
Bash
Executable File
17 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Clearing Vite cache and node_modules..."
|
|
|
|
# Remove node_modules and package-lock.json
|
|
rm -rf node_modules
|
|
rm -f package-lock.json
|
|
|
|
# Remove Vite cache
|
|
rm -rf .svelte-kit
|
|
rm -rf dist
|
|
rm -rf build
|
|
|
|
# Clear npm cache
|
|
npm cache clean --force
|
|
|
|
echo "Cache cleared! Now run: npm install && npm run dev" |