Set up Custom Fonts

From @jayair on Mon Apr 10 2017 01:01:31 GMT+0000 (UTC)

Link to chapter - http://serverless-stack.com/chapters/setup-custom-fonts.html

Copied from original issue: https://github.com/AnomalyInnovations/serverless-stack-com/issues/31

How do you go about using font files, such as woff or woff2 and then reference them properly within the React app? Presumably, you’d want Webpack to bundle the font files into the build OR dist directory as hashed files?

The Create React App User Guide has some info on this. I haven’t used it personally so I don’t really know but it sounds like they handle the Webpack bits for you.