Skip to content

Commit 45d8f44

Browse files
committed
storybook-react-native: restore expo-font config plugin with existing fonts for native builds
1 parent e0e7f70 commit 45d8f44

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

apps/storybook-react-native/app.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@
1616
"backgroundColor": "#ffffff"
1717
}
1818
},
19-
"plugins": []
19+
"plugins": [
20+
[
21+
"expo-font",
22+
{
23+
"fonts": [
24+
"./fonts/Geist/Geist-Regular.otf",
25+
"./fonts/Geist/Geist-RegularItalic.otf",
26+
"./fonts/Geist/Geist-Medium.otf",
27+
"./fonts/Geist/Geist-MediumItalic.otf",
28+
"./fonts/Geist/Geist-SemiBold.otf",
29+
"./fonts/Geist/Geist-SemiBoldItalic.otf",
30+
"./fonts/MMPoly/MMPoly-Regular.otf",
31+
"./fonts/MMSans/MMSans-Regular.otf",
32+
"./fonts/MMSans/MMSans-Medium.otf",
33+
"./fonts/MMSans/MMSans-Bold.otf"
34+
]
35+
}
36+
]
37+
]
2038
}
2139
}

0 commit comments

Comments
 (0)