A Vite plugin which runs a Svelte preprocessor to locate images and then transform them at build-time.
WARNING: This package is experimental. It uses pre-1.0 versioning and may introduce breaking changes with every minor version release.
The Changelog for this package is available on GitHub.
We'd like to thank the author of svelte-preprocess-import-assets
, which this code is partially based off of. We'd also like to thank the authors of vite-imagetools
which is used in @sveltejs/enhanced-img
.