Supported File Types
File types and assets that Sample.app serves.
Sample.app only serves recognized static file types. Files with unsupported extensions are blocked.
Web assets
These core file types are served with appropriate Content-Type headers and caching:
| Extension | Content-Type | Notes |
|---|---|---|
.html | text/html | Entry point for all routes. index.html is served for SPA fallback. |
.css | text/css | Stylesheets, including source maps (.css.map). |
.js | application/javascript | Scripts, including source maps (.js.map). |
.mjs | application/javascript | ES modules. |
.json | application/json | Data files, manifests, configuration. |
.xml | application/xml | Sitemaps, RSS feeds, and other XML data. |
.txt | text/plain | Plain text files, robots.txt. |
.wasm | application/wasm | WebAssembly modules. |
Images
| Extension | Content-Type | Notes |
|---|---|---|
.png | image/png | Lossless raster images. |
.jpg / .jpeg | image/jpeg | Lossy raster images. |
.gif | image/gif | Animated and static GIFs. |
.svg | image/svg+xml | Vector graphics. Can be inlined or served as files. |
.webp | image/webp | Modern lossy/lossless format. Recommended for photos. |
.avif | image/avif | Next-gen format with excellent compression. |
.ico | image/x-icon | Favicons. |
Fonts
| Extension | Content-Type | Notes |
|---|---|---|
.woff | font/woff | Web Open Font Format. |
.woff2 | font/woff2 | WOFF2—best compression. Recommended. |
.ttf | font/ttf | TrueType fonts. |
.otf | font/otf | OpenType fonts. |
.eot | application/vnd.ms-fontobject | Legacy Internet Explorer font format. |
Media
| Extension | Content-Type | Notes |
|---|---|---|
.mp4 | video/mp4 | Video files. |
.webm | video/webm | Web-optimized video. |
.mp3 | audio/mpeg | Audio files. |
.ogg | audio/ogg | Open audio format. |
Documents
| Extension | Content-Type | Notes |
|---|---|---|
.pdf | application/pdf | PDF documents. |
.csv | text/csv | Comma-separated data. |
File types not listed above are blocked. If you need support for an additional type, reach out to the team.
Bundle size limits
All files in your output directory count toward the size limit. The maximum compressed archive size is 100 MB.
Large media files can eat into your quota quickly. Consider hosting videos and large images on a dedicated CDN.

