mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-09-16 10:32:10 +00:00
b2b750115f
Every grid cell downloaded the full detail sprite. Generate a smaller /sprites-grid/v1/ set at build time and let the grid ask for those first, falling back through the existing detail URLs when a thumbnail is missing so detail resolution is unchanged. The new prefix is versioned, so it can be cached forever, and the service worker recognises it alongside the other sprite roots. The placeholder is now an empty box rather than a spinner: a thousand spinners cost layout work and announced nothing useful.
19 lines
490 B
Plaintext
19 lines
490 B
Plaintext
# Ignore files for PNPM, NPM and YARN
|
|
pnpm-lock.yaml
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# Generated data exports. Nobody hand-edits these, and reformatting them buries real data
|
|
# changes under tens of thousands of lines of churn.
|
|
src/lib/helpers/pokeapi-pokemon.json
|
|
static/sprites/pokemon.json
|
|
src/lib/helpers/pokedex.json
|
|
src/lib/helpers/sprites.json
|
|
static/sprites-small/manifest.json
|
|
|
|
# Machine-local editor and tool settings.
|
|
**/*.local.json
|
|
|
|
# Generated grid artwork.
|
|
static/sprites-grid/
|