astro/packages/astro/config.mjs
Erika 71332cf969
fix: move service functions from astro/assets to astro/config so it can be imported (#6995)
* fix: move service functions from astro/assets to astro/config so people can import it

* chore: changeset
2023-05-04 15:57:23 -04:00

15 lines
302 B
JavaScript

export { defineConfig, getViteConfig } from './dist/config/index.js';
export function sharpImageService() {
return {
entrypoint: 'astro/assets/services/sharp',
config: {},
};
}
export function squooshImageService() {
return {
entrypoint: 'astro/assets/services/squoosh',
config: {},
};
}