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
The size of the *.png images could potentially be reduced by running over all the images with imagemin and imagemin-pngquant.
I haven't explored this too indepth, but I first made a simple vite plugin that ran the imagemin app over all the images before adding them to the dist, but it took too long so I scrapped it. However from what I could tell the images did seem to be smaller if only by a few megabytes (I'm not sure how many of the images the app actually go to though).
The text was updated successfully, but these errors were encountered:
I think this is definitely worth a try, if we can reduce the image size without affecting quality too much. A huge chunk of the bundle size is those Home images. I don't want to get rid of the images, or to make them too crunchy, but there's gotta be a way to get them at least 20% smaller
The size of the
*.png
images could potentially be reduced by running over all the images with imagemin and imagemin-pngquant.I haven't explored this too indepth, but I first made a simple vite plugin that ran the
imagemin
app over all the images before adding them to thedist
, but it took too long so I scrapped it. However from what I could tell the images did seem to be smaller if only by a few megabytes (I'm not sure how many of the images the app actually go to though).The text was updated successfully, but these errors were encountered: