mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-13 17:00:53 +08:00
chore(icons): 移除未使用的iconify图标包依赖
移除开发依赖中未实际使用的多个@iconify/icons-*包,仅保留ri和simple-icons。 这简化了依赖管理并减少了安装体积。
This commit is contained in:
@@ -64,7 +64,7 @@ async function loadSvgIcons() {
|
||||
|
||||
await Promise.all(
|
||||
Object.entries(svgEagers).map((svg) => {
|
||||
const [key, body] = svg as [string, { default: string } | string];
|
||||
const [key, body] = svg as [string, string | { default: string }];
|
||||
|
||||
// ./icons/xxxx.svg => xxxxxx
|
||||
const start = key.lastIndexOf('/') + 1;
|
||||
|
||||
Reference in New Issue
Block a user