[ci] yarn format
This commit is contained in:
parent
23b0d2d345
commit
189098b6e5
2 changed files with 3 additions and 3 deletions
|
@ -301,7 +301,7 @@ export function findDeps(html: string, { astroConfig, srcPath }: { astroConfig:
|
|||
$('img[srcset]').each((_i, el) => {
|
||||
const srcset = $(el).attr('srcset') || '';
|
||||
const sources = srcset.split(',');
|
||||
const srces = sources.map(s => s.trim().split(' ')[0]);
|
||||
const srces = sources.map((s) => s.trim().split(' ')[0]);
|
||||
for (const src of srces) {
|
||||
pageDeps.images.add(getDistPath(src, { astroConfig, srcPath }));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue