Media / foldkit-media/vite

icons

function · packages/media/src/vite/index.ts:94

function icons(options?: IconsOptions): Plugin

The plugin: give it the sets the application imports from. An SVG in a folder that the parser refuses fails the build, naming the file; an icon of an Iconify set that it refuses is left out of the set, and its declaration says why, so only importing that icon fails.