You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the Image Services API to now delete original images from the final build that are not used outside of the optimization pipeline. For users with a large number of these images (e.g. thumbnails), this should reduce storage consumption and deployment times.
// Private for now, we generally don't want users to rely on filesystem paths, but we need it so that we can maybe remove the original asset from the build if it's unused.
33
+
Object.defineProperty(emittedImage,'fsPath',{
34
+
enumerable: false,
35
+
writable: false,
36
+
value: url,
37
+
});
38
+
32
39
// Build
33
40
if(!watchMode){
34
41
constpathname=decodeURI(url.pathname);
@@ -50,7 +57,7 @@ export async function emitESMImage(
0 commit comments