const code = await PurgeIcons({
// globs for searching source file to analyze
content: [
'*/.js',
'*/.vue', // scan for .vue file as well
],
// whitelist for icons that might be used dynamically
included: [
'mingcute:alert-fill',
],
format: 'mjs',
});
error:
error when starting dev server: Error: Invalid collection name: "mingcute"
Describe the bug
apparently not all icons are included
vite.config.js
import { PurgeIcons } from '@purge-icons/core';
const code = await PurgeIcons({ // globs for searching source file to analyze content: [ '*/.js', '*/.vue', // scan for .vue file as well ], // whitelist for icons that might be used dynamically included: [ 'mingcute:alert-fill', ], format: 'mjs', });
error:
error when starting dev server: Error: Invalid collection name: "mingcute"
The missing collections are: material-symbols, solar, iconamoon, mingcute, basil, memory, circum, humbleicons, icon-park-solid, icon-park-twotone, pajamas, pepicons-pop, pepicons-print, streamline, guidance, svg-spinners, fluent-emoji, fluent-emoji-flat, fluent-emoji-high-contrast, streamline-emojis, nonicons, devicon, devicon-plain, skill-icons, cryptocurrency-color, game-icons, covid, fluent-mdl2
any solution?
Reproduction
https://stackblitz.com/edit/vitejs-vite-wklw6z?file=vite.config.js&terminal=dev
System Info
Used Package Manager
npm
Validations