microsoft / Msdyn365.Commerce.Online

Dynamics 365 Commerce online project
Other
49 stars 41 forks source link

folder public\msdyn365-assets\webfonts missing #50

Closed kurthatlevik-inspirit365 closed 2 years ago

kurthatlevik-inspirit365 commented 2 years ago

Hi. When trying to un the yarn start to see the site, I saw that font's and icons are missing.

The reason was that folder public\msdyn365-assets\webfonts missing. I see a folder named "public\webfonts", but it seams that it must be in the folder msdyn365-assets.

When I created public\msdyn365-assets\webfonts and copied from public\webfonts it started to work again as expected.

@samjarawan, can you validate ?

samjarawan commented 2 years ago

Hi Kurt, Yes that is correct, when you leverage the CSS optimization feature, the newer msdyn365-assets directory is needed as documented here: https://docs.microsoft.com/en-us/dynamics365/commerce/e-commerce-extensibility/module-css-optimization#configure-assets-in-css-for-use-with-module-css-optimization

Hope that helps! Sam