We do have an angular 19 app with calcite components in use.
On the dev machine with ng build we do not get any build errors.
When we do ng build on our cloudflare-infrastructure we get these kind of errors:
Do we need to add some fonts somewhere into our project? What do we need to do to resolve this problem?
Hi @Mannus_Etten the error is related to Angular. Some components load font files (.woff2). To ensure these assets are supported in Angular, add a loader configuration in your angular.json: "loader": { ".woff2": "file" } . For more information, see Angular’s file extension loader customization guide.
thanks a lot @AndyGup
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.