Skip to content

HAMUR_W1187: Server assets come close to the Workers size limit

Server assets come close to the Workers size limit. Warning HAMUR_W1187 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_W1187 server assets add <size> MiB to the worker; Workers allow 64 MiB uncompressed

Cause

The preset is cloudflare and the server assets add more than the warning limit to the worker. Workers allow 64 MiB uncompressed.

Fix

Serve large files from public/ or a bucket, not from server assets.