File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -285,18 +285,20 @@ const config: Config = {
285
285
href : "/docs/fonts/fonts.css" ,
286
286
} ,
287
287
} ,
288
- ...[ "InterVariable.woff2?v=4.0" , "JetBrainsMono-Regular.woff2" ] . map (
289
- ( font : string ) => ( {
290
- tagName : "link" ,
291
- attributes : {
292
- rel : "preload" ,
293
- type : "font/woff2" ,
294
- as : "font" ,
295
- crossOrigin : "anonymous" ,
296
- href : `/docs/fonts/${ font . includes ( "Inter" ) ? "Inter" : "JetBrainsMono" } /${ font } ` ,
297
- } ,
298
- } ) ,
299
- ) ,
288
+ ...[
289
+ "InterVariable.woff2?v=4.0" ,
290
+ "JetBrainsMono-Regular.woff2" ,
291
+ "JetBrainsMono-Italic.woff2" ,
292
+ ] . map ( ( font : string ) => ( {
293
+ tagName : "link" ,
294
+ attributes : {
295
+ rel : "preload" ,
296
+ type : "font/woff2" ,
297
+ as : "font" ,
298
+ crossOrigin : "anonymous" ,
299
+ href : `/docs/fonts/${ font . includes ( "Inter" ) ? "Inter" : "JetBrainsMono" } /${ font } ` ,
300
+ } ,
301
+ } ) ) ,
300
302
] ,
301
303
scripts : [
302
304
// Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367
You can’t perform that action at this time.
0 commit comments