(fonts) allow async font loading

Vite automatically inline assets in CSS in lib mode and this is
hardcoded in it. After multiple approaches it seems that this one
is the most trivial and easy-to-maintain one.
This commit is contained in:
Nathan Vasse
2023-03-17 17:11:03 +01:00
committed by NathanVss
parent b2fd517bde
commit 1f0d890cb3
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
@import "@openfun/cunningham-react/fonts";
@import "@openfun/cunningham-react/icons";
@import "@openfun/cunningham-react/sass/fonts";
@import "@openfun/cunningham-react/sass/icons";
@import "@openfun/cunningham-react/style";
@import "cunningham-tokens";