# SOURCE_EXTENSION_NOT_ALLOWED: File type not allowed

> File type not allowed

> 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) | source package |

## What it means

A file in the source package has an extension Taggor does not accept, is an image or font outside src/, or is macOS metadata (._name, .DS_Store) that macOS tar adds. A component package holds only .ts, .tsx, .js, .jsx, .mjs, .json, .css, .scss and .md files, and under src/ the images and fonts its code imports (.png, .jpg, .jpeg, .webp, .avif, .svg, .woff2).

## How to fix

Leave the file out of the package. Convert other image formats to .png, .webp or .svg and fonts to .woff2, put them under src/ and import them from the code (import logo from "./logo.svg").
