Skip to content

Commit 77281c4

Browse files
fix: add missing export for a documented image service utility (#14276)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
1 parent 72ab59b commit 77281c4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/smart-squids-pick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Adds a missing export for `resolveSrc`, a documented image services utility.

packages/astro/src/assets/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* If some functions don't need to be exposed, just import the file that contains the functions.
66
*/
77

8-
export { isESMImportedImage, isRemoteImage } from './imageKind.js';
8+
export { isESMImportedImage, isRemoteImage, resolveSrc } from './imageKind.js';
99
export { imageMetadata } from './metadata.js';
1010
export {
1111
/**

0 commit comments

Comments
 (0)