Skip to content

Repository files navigation

Image Optimiser

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 (see src/main.ts for example wiring, including a custom CustomCloudinaryOptimizer).

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).

Recommended IDE Setup

VS Code + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages