mirror of
https://github.com/direct-img/vibegif.direct-img.link.git
synced 2026-10-29 03:34:51 +00:00
Add code-generated animations and build the gallery from public/
Each animation is its own file in gen/<subject>/<action>.js; npm run gen renders the missing ones to public/ as webp + gif. The homepage grid is now generated at build time by a small Vite plugin. First four: ghost/float, heart/beat, cloud/rain, coffee/steam. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -5,9 +5,12 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"gen": "node scripts/gen.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/canvas": "^1.0.13",
|
||||
"sharp": "^0.35.5",
|
||||
"vite": "^8.3.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user