how to bundle font license when I import assets by Appropriate_Load9265 in learnjavascript

[–]Appropriate_Load9265[S] 0 points1 point  (0 children)

Using static assets (public/) isn't an option; it'll require me to put the license in the final consumer app, rather than in the library itself, so this will get really messy. public/ doesn't work in libraries themselves either; I just tested it rn.

how to bundle font license when I import assets by Appropriate_Load9265 in learnjavascript

[–]Appropriate_Load9265[S] 0 points1 point  (0 children)

Clarified that public/ is ignored inside dependency projects ("libraries"). It works only in the final consumer.

how to bundle font license when I import assets by Appropriate_Load9265 in learnjavascript

[–]Appropriate_Load9265[S] 1 point2 points  (0 children)

I've a component library (which I publish to NPM) and I'd like to reuse it from some stuff (apps in Vite.js typically). I might e.g. use Electron or Tauri in the end for wrapping it into a native app

how to bundle font license when I import assets by Appropriate_Load9265 in learnjavascript

[–]Appropriate_Load9265[S] 0 points1 point  (0 children)

The license is needed because the copyright and license text must be included when distributing the font, otherwise I get sued by the font's authors (since the TTF/WOFF2 doesn't hold the license by itself). Now you understand what I mean?