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
Describe the bug
I'm not able to load the 400, 500, and 700 weights specifically via their respective stylesheets in JavaScript. I've used this same technique to load specific font weights from Inter (open source) and Sora (google font) via fontsource.
To Reproduce
Steps to reproduce the behavior:
install fontsource-jetbrains-mono (I'm using yarn if that matters)
#92 should address why this issue exists and that it is on the agenda to be fixed. If you refer to the package readme on NPM or GitHub, it has a filler subset called 'all'.
Describe the bug
I'm not able to load the 400, 500, and 700 weights specifically via their respective stylesheets in JavaScript. I've used this same technique to load specific font weights from Inter (open source) and Sora (google font) via fontsource.
To Reproduce
Steps to reproduce the behavior:
install
fontsource-jetbrains-mono
(I'm usingyarn
if that matters)Add stylesheets to JavaScript:
Module not found: Error: Can't resolve 'fontsource-jetbrains-mono/400.css'
Module not found: Error: Can't resolve 'fontsource-jetbrains-mono/500.css'
Module not found: Error: Can't resolve 'fontsource-jetbrains-mono/700.css'
Expected behavior
I expected those weights to load based on the Fontsource page here that says they are available.
If I do a generic import (
import 'fontsource-jetbrains-mono'
) there is no error.The text was updated successfully, but these errors were encountered: