Mostly posting here for help, but after running ng build -prod, the angular2-fontawesome files are removed and all of the fontawesome icons on the site are now boxes.
Sorry, turns out that it was only an issue with how my server was serving the font-awesome fonts. This is NOT an issue with your code or the Angular CLI.
I am embarrassed and wish I could remove this issue.
Mostly posting here for help, but after running ng build -prod, the angular2-fontawesome files are removed and all of the fontawesome icons on the site are now boxes.
After perusing this link: https://github.com/angular/angular-cli/issues/785 It seems this may be an issue with the structure, especially with there being no main .js file.
Snippet of package.json
Snippet of angular-cli-build.js vendorNpmFiles:
Snippet of system-config.ts
Snippet of one of the components using FaDirective
and the template
If anyone has any tips, workarounds, or solutions please let me know.