Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke committed Feb 25, 2024
1 parent 7eff3e5 commit 2112346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ The directory will be scanned for font files, which will be read and automatical
**Please note** that at the moment the plugin doesn't detect woff2 fonts

The first argument of `hosted` array is required and it should be a path that related to the project root. i.e. `./src/fonts`
In this case, the path to the fonts folder structure must match the structure of the path to the fonts folder on the server, because the path will be relative css file.
In this case, the path to the fonts folder structure must match the structure of the path to the fonts folder on the server, because **the path will be relative css file**.

The second argument of `hosted` array is optional and it can be an arbitrary path which should match the fonts directory on the site.
i.e. `/assets/fonts`
Expand Down

0 comments on commit 2112346

Please sign in to comment.