https://github.com/robinl/vite_bus
https://github.com/robinl/vite_bus
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/robinl/vite_bus
- Owner: RobinL
- Created: 2025-01-21T18:43:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-23T08:51:51.000Z (about 1 year ago)
- Last Synced: 2025-03-23T09:23:18.048Z (about 1 year ago)
- Language: JavaScript
- Size: 111 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
To compress images
```
cd public/unsorted_images/for_compressing
mkdir -p compressed
find . -maxdepth 1 -type f \( -iname "*.jpg" -o -iname "*.png" \) | while read f; do
ffmpeg -i "$f" -vf "scale=1000:-1" -q:v 3 "compressed/$(basename "${f%.*}").jpg"
done
```