#Vercel 50mb error for page that uses PDF.js

4 messages · Page 1 of 1 (latest)

bright crane
#

Is there a way to use PDF.js in a vercel deployment. At the moment any page that uses a component that renders with PDF.js, the bunlde size is about 60mb and over the serverless function limit for vercel.

void bronze
#

I ran into this same issue today!

crystal gull
#

Also curious since I have to generate PDFs.

bright crane