From 4b6915f40ff7ceec9a91733a41e4619a42a0a1db Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Thu, 27 Apr 2023 11:14:53 +0200 Subject: [PATCH] fix: remove get --- packages/astro/src/assets/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/assets/index.ts b/packages/astro/src/assets/index.ts index cbc7a605de80..bab74a81561b 100644 --- a/packages/astro/src/assets/index.ts +++ b/packages/astro/src/assets/index.ts @@ -6,14 +6,14 @@ export { type LocalImageProps, type RemoteImageProps } from './types.js'; export { emitESMImage } from './utils/emitAsset.js'; export { imageMetadata } from './utils/metadata.js'; -export function getSharpImageService(): ImageServiceConfig { +export function sharpImageService(): ImageServiceConfig { return { entrypoint: 'astro/assets/services/sharp', config: {}, }; } -export function getSquooshImageService(): ImageServiceConfig { +export function squooshImageService(): ImageServiceConfig { return { entrypoint: 'astro/assets/services/squoosh', config: {},