ionic-team / ionic-team/ionic-cli

font paths in production are wrong

Open
#3,097 4 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

i run `npm run ionic:build -- --prod`, then copy `www` on a dockerfile, which just servers it.

When I try to access my app, I get a `404` for `../build/assets/fonts/ionicons.woff2?v=3.0.0-alpha.3`. Looking at the `www` folder, this is obvious. The fonts are in `../assets/fonts`, not `../build/assets/..`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.