Closed Arc-blroth closed 1 year ago
actually wait why are all the images broken
i forgor that yarn build
uses the prod website as the prefix for all paths :skull:
temporarily editing the assetPrefix
in next.config.js
shows that Sharp does in fact work
this should be ready to merge
The squoosh library is apparently unmaintained and doesn't work on node 18+ This Next.js RFC recommends switching to sharp instead, which fixes the build and compresses our images better as a bonus!