travelist / angular2-fontawesome

Angular5 Components and Directives for Fontawesome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular CLI NG2 404 on fonts files

bgandy94 opened this issue · comments

So currently I have included font-awesome and angular2-fontawesome in my package.json
I have included references to their source files in my angular-cli.json file like mentioned in the README.

However, when I run ng build it outputs all of the font-awesome fonts files directly out into the dist directory, so in the font-awesome.css file when it tries to reference these files like so src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); it doesn't work properly because all of the fonts files are in the same directory (ie, their not put in their own fonts folder.)

Has anyone ran into this before? Or am I doing something wrong?

Thanks in advance for your time