Closed realtebo closed 8 months ago
Hello @realtebo thanks for your PR.
I will ask @promatik to check this new code and if everything is ok will be merged.
Thanks again.
Cheers.
This is importing a file in the term of saving it to disk if we internalize assets. But it will not be downloaded if not needed by production code
Anyway, the problem is not solved at all. Some chrome on some random android phones (not old!) are still not showing icons so the problem is not related to alternative versions of file.
I suggest, anyway, to merge this PR for sake of completeness because it's not causing side-effects.
But i will open an issue asking for help to resolve the main concerns
Thanks @realtebo for the PR 🙏
I agree, there is no issue having both, even for browser compatibility, if the any css implement a fallback system it will work without adding the files manually.
Let me know if I can help you with something else.
Cheers
Added woff and ttf to force import from bassets
WHY
BEFORE - What was wrong? What was happening before this PR?
Some browser are requiring ttf or woff version of line awesome files So users cannot see icons in the coreui-v4
AFTER - What is happening after this PR?
With this PR, we can do a
basset:internalize
and predownload all required files. Also, we fix the behaviour with icons don't loadedHOW
Added @basset instructions for woff and ttf file of used files
How did you achieve that, in technical terms?
Added @basset instructions for woff and ttf file of used files
Is it a breaking change?
No
How can we test the before & after?
IDK, sorry