c2c71d90c2
* fix: better error when Sharp can't be resolved (ex: pnpm) * chore: changeset * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
22 lines
421 B
JavaScript
22 lines
421 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: {},
|
|
};
|
|
}
|
|
|
|
export function passthroughImageService() {
|
|
return {
|
|
entrypoint: 'astro/assets/services/noop',
|
|
config: {},
|
|
};
|
|
}
|