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 摘要。