Skip to content

Commit d57389a

Browse files
authored
fix: add missing images (#830)
1 parent bf75d81 commit d57389a

File tree

221 files changed

+9627
-9835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+9627
-9835
lines changed

build/build.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ class Build {
261261
};
262262
const image = await get(imageUrl).catch(retry).catch(retry);
263263

264-
this.updateCache(item, cached, hash, isComponent);
265-
266264
await sharp(image).toFile(filePath);
267265
await minify([filePath], {
268266
destination: basePath,
@@ -273,6 +271,8 @@ class Build {
273271
}),
274272
],
275273
});
274+
275+
this.updateCache(item, cached, hash, isComponent);
276276
} catch (e) {
277277
// swallow error
278278
console.error(e);

0 commit comments

Comments
 (0)