0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/packages/astro/config.mjs
Erika cfa6a47ac7
feat: remove the squoosh image service (#11770)
* feat: remove the squoosh image service

* fix: build

* chore: changeset
2024-08-20 15:12:48 +02:00

16 lines
359 B
JavaScript

export { defineConfig, getViteConfig } from './dist/config/index.js';
export { envField } from './dist/env/config.js';
export function sharpImageService(config = {}) {
return {
entrypoint: 'astro/assets/services/sharp',
config,
};
}
export function passthroughImageService() {
return {
entrypoint: 'astro/assets/services/noop',
config: {},
};
}