Select to view content in your preferred language

problem with deploying calcite to cloudflare

312
2
Jump to solution
02-20-2026 10:45 PM
Mannus_Etten
Occasional Contributor

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:

✘ [ERROR] No loader is configured for ".woff2" files: node_modules/@arcgis/map-components/dist/cdn/assets/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-vietnamese.woff2
00:21:29.475 
00:21:29.475node_modules/@arcgis/map-components/dist/cdn/main.css:1:11683:
00:21:29.4751 │ ...r Next;src:url(./assets/fonts/12f4c786-0bef-4a48-b7c0-eebaa75916...

 

Do we need to add some fonts somewhere into our project? What do we need to do to resolve this problem?

Portal Genius / KLIC Genius / Backup Genius
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AndyGup
Esri Regular Contributor

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.

View solution in original post

2 Replies
AndyGup
Esri Regular Contributor

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.

Mannus_Etten
Occasional Contributor

thanks a lot @AndyGup 

Portal Genius / KLIC Genius / Backup Genius
0 Kudos