# Where do fonts from static-directory go in production-build?

**URL:** <https://discourse.aurelia.io/t/where-do-fonts-from-static-directory-go-in-production-build/2840>\
**Category:** Help Requests\
**Created:** [August 16, 2019, 9:20am UTC](https://discourse.aurelia.io/t/where-do-fonts-from-static-directory-go-in-production-build/2840 "2019-08-16T09:20:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfhir](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alfhir/32/1510_2.png) [@Alfhir](https://discourse.aurelia.io/u/Alfhir)\
**Post date:** [August 16, 2019, 9:20am UTC](https://discourse.aurelia.io/t/where-do-fonts-from-static-directory-go-in-production-build/2840/1 "2019-08-16T09:20:42Z")

</div>

Hello!

Say i´m running a new Webpack4 Aurelia Cli-Project and bind Font-Awesome Fonts via

```auto
@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("fa-brands-400.woff") format("woff");

```

in a file _bind-font-awesome.css_ in the static directory.

When running “au run -analyze” i can see the fonts in the generated voronoi diagram.

When building for Production they seem to be gone.

Afaik the current webpack config would eventually use url-loader because of

```auto
        {
          test: /\.woff(\?v=[0-9]\.[0-9]\.[0-9])?$/i,
          loader: 'url-loader',
          options: {name: 'fonts/[name].[ext]', mimetype: 'application/font-woff'}
        }

```

and include the fonts…somewhere? ^^

Can someone share maybe a link to a blog article, website etc. that explains importing fonts in a similar way. I am unsure what happens in production when i import fonts like this.

Best

---

<div class="post-metadata">

**Author:** ![Alfhir](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alfhir/32/1510_2.png) [@Alfhir](https://discourse.aurelia.io/u/Alfhir)\
**Post date:** [August 20, 2019, 9:14am UTC](https://discourse.aurelia.io/t/where-do-fonts-from-static-directory-go-in-production-build/2840/2 "2019-08-20T09:14:34Z")

</div>

Now i´m pretty shure, that this rule says, that .woff-files, no matter how big, should be base64-encoded and put in a directory “fonts/…” in the generated dist-folder. Unfortunately they don´t. 😃
