cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature]: Support for Font Filetypes in Theme App Extensions

Open 1-oh-1 opened this issue 9 months ago • 0 comments

What area(s) will this request affect?

Extension

What type of change do you want to see?

New feature

Overview

Support for font filetypes in theme app extensions assets: .woff2 .eot .ttf .woff

Motivation

Writing a theme app extension, and got the following error when attempting to deploy:

Invalid filename in your theme app extension: assets/.woff2
Only these filetypes are supported in assets: .jpg, .jpeg, .json, .js, .css, .png, .svg, .wasm

My theme app extension uses an icon library, which relies on font files. I can directly upload these font-related file types to a theme's assets folder. It would be great to have feature parity for theme app extensions.

It is possible to work around this limitation using a third-party CDN, but supporting these file types directly would improve the development experience (and potentially the page load speeds for end users).

Cheers

1-oh-1 avatar May 08 '25 17:05 1-oh-1