HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

HcIcons font import update #2279

Open guille-gomez opened 6 months ago

guille-gomez commented 6 months ago

Describe your idea

In Angular 17 we have the option of using new builders esbuild, application.

What problem are you trying to solve?

When trying to use them we are seeing some errors in cashmere.css like Could not resolve "node_modules/@healthcatalyst/cashmere/hcicons/hcicons.eot" which happen here @font-face { font-family: "hcicons"; src: url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.eot"); src: url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.eot") format("embedded-opentype"), url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.woff2") format("woff2"), url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.woff") format("woff"), url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.ttf") format("truetype"), url("node_modules/@healthcatalyst/cashmere/hcicons/hcicons.svg") format("svg"); font-weight: normal; font-style: normal; } Replacing node_modules/@healthcatalyst/cashmere/ with @healthcatalyst/cashmere/ solves the issue and it works with the current builder.

image