mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
fix: i dont want to set src like this
This commit is contained in:
parent
2e8af7f8eb
commit
245034babb
1 changed files with 2 additions and 0 deletions
|
@ -341,6 +341,8 @@ async function emitOptimizedImages(
|
|||
globalThis.astroAsset.referencedImages.add(fsPath);
|
||||
}
|
||||
node.attributes[attributeName] = { ...src, fsPath };
|
||||
node.attributes.src = src.src;
|
||||
|
||||
}
|
||||
} else {
|
||||
throw new MarkdocError({
|
||||
|
|
Loading…
Reference in a new issue