Netlify 部署后 Iconfont 图标丢失 #2987
-
问题在这次PR后,发现 Netlify 部署的结果中不包含任何 Iconfont 图标。但是在本地调,以及 GitHub Pages 的部署结果中都是正常的。 Netlify 部署结果: https://deploy-preview-26--snaphutao.netlify.app/en/features/ 截图 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I am not sure, but I also met similar issues with iconfont, actually the cdn link it provides is for test only, and you should self-host the assets in production. |
Beta Was this translation helpful? Give feedback.
-
@Mister-Hope After disabling the Asset Optimization, the issue was gone. |
Beta Was this translation helpful? Give feedback.
I am not sure, but I also met similar issues with iconfont, actually the cdn link it provides is for test only, and you should self-host the assets in production.