You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gatsby-plugin-subfont/README.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,38 @@ If you want the ability to run font subsetting locally you'l need Python and ins
17
17
```javascript
18
18
// In your gatsby-config.js
19
19
module.exports= {
20
-
plugins: [`gatsby-plugin-subfont`],
20
+
plugins: [
21
+
{
22
+
resolve:`gatsby-plugin-subfont`,
23
+
options: {
24
+
silent:true,
25
+
fallback:false,
26
+
inlineFonts:true,
27
+
},
28
+
},
29
+
],
21
30
}
22
31
```
32
+
33
+
## Options
34
+
35
+
See [subfont](https://github.com/Munter/subfont/blob/4b5a59afd17008ca35b6c32b52e3e922159e22fc/lib/subfont.js#L10) for a full list of options.
0 commit comments