Dan Abramov
3 years ago
2 changed files with 22 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
/** |
|||
* Copyright (c) Facebook, Inc. and its affiliates. |
|||
*/ |
|||
|
|||
const {execSync} = require('child_process'); |
|||
|
|||
// So that we don't need to check them into the repo.
|
|||
// Serving them from the same domain is better for perf so do this on deploy.
|
|||
execSync( |
|||
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_Lt.woff2 --output public/fonts/Optimistic_Display_W_Lt.woff2' |
|||
); |
|||
execSync( |
|||
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_Md.woff2 --output public/fonts/Optimistic_Display_W_Md.woff2' |
|||
); |
|||
execSync( |
|||
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2 --output public/fonts/Optimistic_Display_W_Bd.woff2' |
|||
); |
Loading…
Reference in new issue