All image optimisation should be done manually to remove the need for various libraries in our build environments.
Inline SVGs should be optimised using https://jakearchibald.github.io/svgomg/
Raster images should be optimised using the following tools:
- https://squoosh.app for converting to
.webpand optimising the result - https://tinypng.com/ for optimising
.pngfiles