-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👽 [#724] Fix loading/resolving the font-awesome font files
CRA seems to properly translate the relative path and include the files while Vite requires some extra hints to properly point to the package location before it can find the font files. Unfortunately, both setups are not compatible, so in the vite config we override the sass-variable to pass down to the sass module import, where the default is set to the current, legacy behaviour.
- Loading branch information
1 parent
beaf18c
commit 4e13611
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters