NuxtN
Nuxt17mo ago
2 replies
BiffBaffBoff

Cloudflare pages preset

Hi, if I'm hosting my nuxt app in cloudflare, do I need to still set this preset?
  nitro: {
    preset: 'cloudflare-pages',
  },

The reason I ask, is that I want to do some image manipulation in my api route so I'm using sharp but this doesnt seem compatible when I use that preset?

I guess this is out of the realm of here - but - is there another image manipulation library I can do which is compatible with cloudflare pages environment? Thanks
Was this page helpful?