✨(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:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user