# ASSET_TOO_LARGE: Asset too large

> Asset too large

> Esta página ainda não tem tradução para o português; este é o texto em inglês. (This page is not translated yet: the English text follows.)

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

## What it means

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.

## How to fix

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.
