Pular para o conteúdo

ASSET_TOO_LARGE: Asset too large

Este conteúdo não está disponível em sua língua ainda.

Severity Fault Stage
error customer (the source package) build output

An image or font the component imports is bigger than one asset may be, or all the assets the component imports together are bigger than the component’s limit, or it imports more distinct files than the contract allows (50). Assets are published as their own files on the CDN and every visitor downloads them, so the limits come from the workspace’s plan. The message gives the file, its size and the limit.

Shrink the file: export the image at the size it is shown, compress it (WebP or AVIF for photos, an optimized SVG for icons), subset the font to the characters the component uses, or load large media from a URL at run time.