Skip to content

SOURCE_EXTENSION_NOT_ALLOWED: File type not allowed

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

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).

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”).