WIP: Font import duplicates variable font files per weight entry

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Environment: Bricks 2.4-beta2, Global Import/Export

Steps: Export a design system with variable fonts (one WOFF2 file registered at multiple weights). Import on another site. Each font-face entry uploads a separate copy of the same file instead of reusing one attachment.

Expected: Import detects identical files and reuses one upload with multiple font-face references.

Impact: Duplicate font preloads on the frontend — browser downloads the same font file multiple times under different filenames. Wastes bandwidth on every page load.

Hi Filipp,
Thanks so much for your report!

I reproduced the issue and added it to our bug tracker.
We’ll update this thread once it’s fixed.

Best regards,
timmse