ionic-team / ionic-team/ionic-cli

font paths in production are wrong

未关闭
#3,097 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

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/..`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。