|
|
@ -13,6 +13,15 @@ const execAsync = promisify(exec); |
|
|
|
// To refresh the list, go to the Conf website's public/fonts/ folder and run this:
|
|
|
|
// printf "\n[\n%s\n]\n" "$(find . -type f ! -path "*/.*" -name "*.woff2" | sed 's|^./||' | sort | awk '{printf " \"%s\",\n", $0}' | sed '$s/,$//')"
|
|
|
|
const paths = [ |
|
|
|
"Optimistic_Display_Arbc_W_Bd.woff2", |
|
|
|
"Optimistic_Display_Arbc_W_Md.woff2", |
|
|
|
"Optimistic_Display_Arbc_W_SBd.woff2", |
|
|
|
"Optimistic_Display_Cyrl_W_Bd.woff2", |
|
|
|
"Optimistic_Display_Cyrl_W_Md.woff2", |
|
|
|
"Optimistic_Display_Cyrl_W_SBd.woff2", |
|
|
|
"Optimistic_Display_Viet_W_Bd.woff2", |
|
|
|
"Optimistic_Display_Viet_W_Md.woff2", |
|
|
|
"Optimistic_Display_Viet_W_SBd.woff2", |
|
|
|
"Optimistic_Display_W_Bd.woff2", |
|
|
|
"Optimistic_Display_W_BdIt.woff2", |
|
|
|
"Optimistic_Display_W_Lt.woff2", |
|
|
@ -22,6 +31,22 @@ const paths = [ |
|
|
|
"Optimistic_Display_W_SBdIt.woff2", |
|
|
|
"Optimistic_Display_W_XBd.woff2", |
|
|
|
"Optimistic_Display_W_XLt.woff2", |
|
|
|
"Optimistic_Text_Arbc_W_Bd.woff2", |
|
|
|
"Optimistic_Text_Arbc_W_Md.woff2", |
|
|
|
"Optimistic_Text_Arbc_W_Rg.woff2", |
|
|
|
"Optimistic_Text_Arbc_W_XBd.woff2", |
|
|
|
"Optimistic_Text_Cyrl_W_Bd.woff2", |
|
|
|
"Optimistic_Text_Cyrl_W_Md.woff2", |
|
|
|
"Optimistic_Text_Cyrl_W_Rg.woff2", |
|
|
|
"Optimistic_Text_Cyrl_W_XBd.woff2", |
|
|
|
"Optimistic_Text_Deva_W_Bd.woff2", |
|
|
|
"Optimistic_Text_Deva_W_Md.woff2", |
|
|
|
"Optimistic_Text_Deva_W_Rg.woff2", |
|
|
|
"Optimistic_Text_Deva_W_XBd.woff2", |
|
|
|
"Optimistic_Text_Viet_W_Bd.woff2", |
|
|
|
"Optimistic_Text_Viet_W_Md.woff2", |
|
|
|
"Optimistic_Text_Viet_W_Rg.woff2", |
|
|
|
"Optimistic_Text_Viet_W_XBd.woff2", |
|
|
|
"Optimistic_Text_W_Bd.woff2", |
|
|
|
"Optimistic_Text_W_BdIt.woff2", |
|
|
|
"Optimistic_Text_W_It.woff2", |
|
|
@ -29,32 +54,7 @@ const paths = [ |
|
|
|
"Optimistic_Text_W_MdIt.woff2", |
|
|
|
"Optimistic_Text_W_Rg.woff2", |
|
|
|
"Optimistic_Text_W_XBd.woff2", |
|
|
|
"Optimistic_Text_W_XBdIt.woff2", |
|
|
|
"arabic/Optimistic_Display_Arbc_W_Bd.woff2", |
|
|
|
"arabic/Optimistic_Display_Arbc_W_Md.woff2", |
|
|
|
"arabic/Optimistic_Display_Arbc_W_SBd.woff2", |
|
|
|
"arabic/Optimistic_Text_Arbc_W_Bd.woff2", |
|
|
|
"arabic/Optimistic_Text_Arbc_W_Md.woff2", |
|
|
|
"arabic/Optimistic_Text_Arbc_W_Rg.woff2", |
|
|
|
"arabic/Optimistic_Text_Arbc_W_XBd.woff2", |
|
|
|
"cyrillic/Optimistic_Display_Cyrl_W_Bd.woff2", |
|
|
|
"cyrillic/Optimistic_Display_Cyrl_W_Md.woff2", |
|
|
|
"cyrillic/Optimistic_Display_Cyrl_W_SBd.woff2", |
|
|
|
"cyrillic/Optimistic_Text_Cyrl_W_Bd.woff2", |
|
|
|
"cyrillic/Optimistic_Text_Cyrl_W_Md.woff2", |
|
|
|
"cyrillic/Optimistic_Text_Cyrl_W_Rg.woff2", |
|
|
|
"cyrillic/Optimistic_Text_Cyrl_W_XBd.woff2", |
|
|
|
"devanagari/Optimistic_Text_Deva_W_Bd.woff2", |
|
|
|
"devanagari/Optimistic_Text_Deva_W_Md.woff2", |
|
|
|
"devanagari/Optimistic_Text_Deva_W_Rg.woff2", |
|
|
|
"devanagari/Optimistic_Text_Deva_W_XBd.woff2", |
|
|
|
"vietnamese/Optimistic_Display_Viet_W_Bd.woff2", |
|
|
|
"vietnamese/Optimistic_Display_Viet_W_Md.woff2", |
|
|
|
"vietnamese/Optimistic_Display_Viet_W_SBd.woff2", |
|
|
|
"vietnamese/Optimistic_Text_Viet_W_Bd.woff2", |
|
|
|
"vietnamese/Optimistic_Text_Viet_W_Md.woff2", |
|
|
|
"vietnamese/Optimistic_Text_Viet_W_Rg.woff2", |
|
|
|
"vietnamese/Optimistic_Text_Viet_W_XBd.woff2" |
|
|
|
"Optimistic_Text_W_XBdIt.woff2" |
|
|
|
]; |
|
|
|
|
|
|
|
const baseURL = "https://conf.reactjs.org/fonts/"; |
|
|
|