Since there are some font files (e.g. icon font) already handled by other plugin, unplugin-fonts is no need to inject those files. It just need to inject the configurated fonts instead of inject every available font files inside the build.
It is suggested that adding an option to disable control custom font.
Update - it is a bug
Vite custom font scanning all available font files including node_modules file on build
Describe the feature
Since there are some font files (e.g. icon font) already handled by other plugin,
unplugin-fonts
is no need to inject those files. It just need to inject the configurated fonts instead of inject every available font files inside the build. It is suggested that adding an option to disable control custom font.Update - it is a bug
Vite custom font scanning all available font files including node_modules file on build