Templarian / MaterialDesign-Webfont

@mdi/font Dist for Material Design Icons.
https://materialdesignicons.com
Other
402 stars 157 forks source link

BUG: Vite build Error #85

Closed marsanla closed 2 years ago

marsanla commented 2 years ago

Hi I am getting this issues when I want to build a vue with vite:

[vite:resolve] Failed to resolve entry for package "@mdi/font". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@mdi/font". The package may have incorrect main/module/exports specified in its package.json. error during build: Error: Failed to resolve entry for package "@mdi/font". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@mdi/font". The package may have incorrect main/module/exports specified in its package.json.

Templarian commented 2 years ago

Probably wanted the @mdi/js package and not the the webfont. No one should be using the webfont in modern development as it includes all of the icons.

https://dev.materialdesignicons.com/guide/webfont-alternatives