Skip to content

Commit

Permalink
fix: remove get
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Apr 27, 2023
1 parent 7c562c7 commit 4b6915f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/assets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down

0 comments on commit 4b6915f

Please sign in to comment.