This repository is the home of @greener-games/image-optimiser, a Vue 3 plugin that provides an optimized <CacheImage> component, composables, and services for caching and transforming images from Hygraph, other CDNs, or custom providers.
- Plugin source & docs:
plugins/@greener-games/image-optimiser— see that package's README for installation, configuration, and usage. - Demo app: The root
src/folder is a small Vue app used to exercise the plugin during development (seesrc/main.tsfor example wiring, including a customCustomCloudinaryOptimizer).
This workspace was originally scaffolded from a shared Vue 3 + Vite plugin-development template, and comes with a unified CI/CD pipeline powered by semantic-release (see .supporting_docs/RELEASE_PROCESS.md for how releases and commit prefixes work).
VS Code + Volar (and disable Vetur).
See Vite Configuration Reference.
npm installnpm run devnpm run buildLint with ESLint
npm run lint